Commit Graph

5 Commits (8a174a3511df24b9f13055c5cff0c2042291e10c)

Author SHA1 Message Date
David de la Iglesia Castro e384ef578a
Add runner type (#118)
* Add runner_type option

* pre-commit

* Fix max_iters

* Add by_epoch to EvalHook

* Add test_eval_hook for epoch runner

* Remove runner-type arg from tools/train

* Add missing every_n_iters check for epoch mode

* Bump mmcv min version

* Use build_runner

* Use interval in tests

* Update test_eval_hook.py

* Use every_n_epochs instead of every_n_iters. Update DistEvalHook

* Add test_dist_eval_hook_epoch

* Fix tests

* Add DeprecationWarning

* Update docs

* Replace DeprecationWarning with UserWarning
2020-10-25 15:18:46 -07:00
David de la Iglesia Castro 7f8bc7935c
Fix cpu inference (#152)
* Add missing map_location

* Add docstring

* Update mmseg/apis/inference.py

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>

* Update inference.py

* Update inference.py

Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>
2020-09-25 01:34:40 +08:00
MY_ 298124566b
Update test.py (#93) 2020-08-25 21:12:39 +08:00
Jerry Jiarui XU bafc0e5db6
Fixed slide inference (#90) 2020-08-25 20:01:01 +08:00
Jiarui XU b2724da80b init commit 2020-07-10 02:39:01 +08:00