Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix CI bugs #17042

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/nightly/estimator/test_estimator_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_estimator_cpu():
# Define estimator
est = estimator.Estimator(net=net,
loss=loss,
metrics=mx.metric.Accuracy(),
train_metrics=mx.metric.Accuracy(),
trainer=trainer,
context=context)
# Call fit()
Expand Down Expand Up @@ -145,7 +145,7 @@ def test_estimator_gpu():
# Define estimator
est = estimator.Estimator(net=net,
loss=loss,
metrics=acc,
train_metrics=acc,
trainer=trainer,
context=context)
# Call fit()
Expand Down
2 changes: 1 addition & 1 deletion tests/nightly/estimator/test_sentiment_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def run(net, train_dataloader, test_dataloader, num_epochs, ctx, lr):
nested_metrics.add([metrics, mx.metric.Accuracy()])

# Define estimator
est = estimator.Estimator(net=net, loss=loss, metrics=nested_metrics,
est = estimator.Estimator(net=net, loss=loss, train_metrics=nested_metrics,
trainer=trainer, context=ctx)
# Begin training
est.fit(train_data=train_dataloader, val_data=test_dataloader,
Expand Down