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

Commit

Permalink
[Fit API] improve event handlers (#14685)
Browse files Browse the repository at this point in the history
* improve event handlers

* update tests

* passing weakref of estimator

* fix unit test

* fix test

* fix pylint

* fix test

* fix pylint

* move default metric logic

* combine nightly tests
  • Loading branch information
roywei authored and szha committed Apr 19, 2019
1 parent d4bf975 commit 7e10355
Show file tree
Hide file tree
Showing 9 changed files with 388 additions and 338 deletions.
18 changes: 3 additions & 15 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1296,31 +1296,19 @@ nightly_scala_demo_test_cpu() {
bash bin/run_im.sh
}

nightly_estimator_cnn_gpu() {
nightly_estimator_gpu() {
set -ex
cd /work/mxnet/tests/nightly/estimator
export PYTHONPATH=/work/mxnet/python/
python test_estimator_cnn.py --type gpu
}

nightly_estimator_cnn_cpu() {
set -ex
cd /work/mxnet/tests/nightly/estimator
export PYTHONPATH=/work/mxnet/python/
python test_estimator_cnn.py --type cpu
}

nightly_estimator_rnn_gpu() {
set -ex
cd /work/mxnet/tests/nightly/estimator
export PYTHONPATH=/work/mxnet/python/
python test_sentiment_rnn.py --type gpu
}

nightly_estimator_rnn_cpu() {
nightly_estimator_cpu() {
set -ex
cd /work/mxnet/tests/nightly/estimator
export PYTHONPATH=/work/mxnet/python/
python test_estimator_cnn.py --type cpu
python test_sentiment_rnn.py --type cpu
}

Expand Down
271 changes: 118 additions & 153 deletions python/mxnet/gluon/contrib/estimator/estimator.py

Large diffs are not rendered by default.

Loading

0 comments on commit 7e10355

Please sign in to comment.