mmocr/tools
Bryan YW b422dedd8d
[Feature] Adding test & train API to be used directly in code (#1138)
* [Feature] Adding test & train API

This changes added capability for test & training to be directly invoked
in code, e.g., inside a Jupyter notebook cell.

The change also ensures the original command-line usage remains the
same.

* fix linting issue

* [bug fix] fix polygon points ordering

bug fix for 4-point polygon, sort the points in clock-wise order

* revert changes for PR #1138

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-09-29 11:10:37 +08:00
..
data [Fix] fix typo of --lmdb-map-size default value (#1147) 2022-07-16 21:32:15 +08:00
deployment [Enhancement] Add deprecation message for deploy tools (#801) 2022-02-28 16:22:47 +08:00
misc [Docs] Add config tutorial (#683) 2021-12-28 12:41:24 +08:00
analyze_logs.py [Feature] Add analyze_logs in tools and its description in docs (#899) 2022-04-02 22:40:39 +08:00
benchmark_processing.py [Enhancement] Add copyright info (#439) 2021-08-17 17:39:30 +08:00
det_test_imgs.py [Fix] Support both ConcatDataset and UniformConcatDataset (#675) 2021-12-22 12:32:02 +00:00
dist_test.sh [Feature] Add args and docs for multi-machine training/testing (#849) 2022-03-22 16:25:39 +08:00
dist_train.sh [Feature] Add args and docs for multi-machine training/testing (#849) 2022-03-22 16:25:39 +08:00
kie_test_imgs.py [Feature] Save results to json file for kie. (#589) 2021-11-15 20:28:13 +08:00
publish_model.py [Fix] Fix PyTorch 1.6 incompatible checkpoints (#540) 2021-10-27 19:12:52 +08:00
recog_test_imgs.py [Fix] Use hyphen instead of underscores in script args (#890) 2022-03-29 10:28:38 +08:00
slurm_test.sh [feature]: add textdet 2021-04-03 01:03:52 +08:00
slurm_train.sh [feature]: add textdet 2021-04-03 01:03:52 +08:00
test.py [Feature] Adding test & train API to be used directly in code (#1138) 2022-09-29 11:10:37 +08:00
train.py [Feature] Adding test & train API to be used directly in code (#1138) 2022-09-29 11:10:37 +08:00