655 Commits

Author SHA1 Message Date
Xinyu Wang
8b928cb500
[Feature] Add NAF Converter (#815)
* NAF dataset downloading command

* add NAF converter

* revert incorrect url revision

* fix typo

* support jsonl; save filtered crops; add data description in docstring; update ddoc

* remove preserve-symbol; update docs; fix special symbol filter

* move tree structure

* fix indentation

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 14:31:47 +08:00
Xinyu Wang
bdd32c8052
[Feature] Add SROIE Converter (#810)
* add SROIE converter

* add sroie converter

* fix docstring indentation

* fix lint

* remove val split; add test split

* delete google drive timestamp

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* remove timestamp

* update docs; support jsonl; fix crop

* move tree structure

* move tree structure

* move directory tree

* fix indentation

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-30 13:14:23 +08:00
Xinyu Wang
958e4a3e87
[Feature] Add LV Dataset Converter (#871)
* add LV converter

* add docs

* add recog converter; update doc
2022-03-29 11:50:27 +08:00
Tong Gao
b37b1d05dd
[Fix] Use hyphen instead of underscores in script args (#890) 2022-03-29 10:28:38 +08:00
garvan2021
c79a62487d
[Feature] Add Tesserocr Inference (#814)
* append tesserocr to requirements list, but may encounter build error at windows platform

* simply save

* 2022.3.4

* opencv-python==4.5.5 can cause cv2.error when print_result=True

* append MMOCR.tesseract_det_inference()

* argument check append

* fix lint error

* update commentary

* lint fix

* requirement remove opencv

* handle tessdata problem

* support tesseract recognition

* fix some bugs

* fix imshow bug

* support batch mode(fake)

* modify annotation

* refactor BaseRecognizer for show_result

* append pytest

* Mock tesseract

* Fix test

* remove \n from Tesseract

* normalize text score

* update docs
2022-03-28 22:50:53 +08:00
Qing Jiang
7c9093684e
[Fix] Fix a bug that may cause inplace operation error (#884)
* loss

* fix

* bug
2022-03-25 16:14:51 +08:00
JiangQing
6512f0a0a4
[Fix] ignore_index in SARLoss (#869)
* loss

* bug

* remove another fix
2022-03-24 18:49:13 +08:00
Tong Gao
007871f2a1
[Enhancement] Deploy openmmlab-bot (#876) 2022-03-24 15:29:40 +08:00
JiangQing
af9fd77980
[Fix] description in tools/data/utils/txt2lmdb.py (#870)
* loss

* fix

* fix
2022-03-23 17:30:33 +08:00
Tong Gao
37833ada4b
[Fix] Support loading space character from dict file (#854)
* [Feature] Support loading dict file with space character

* fix tests

* clean up \\r in tests

* add DICT37 and DICT91

* update docstr
2022-03-22 17:44:32 +08:00
Xinyu Wang
33c5e41724
[Enhancement] Add warning info for LineStrParser (#850)
* Add warning info for LineStrParser while more than two blanks were detected.

* add LineJsonParser Doc

* fix typo

* fix typo

* fix typo

* separate tutorial section
2022-03-22 17:44:05 +08:00
Tong Gao
838aa47f9f
[Feature] Add args and docs for multi-machine training/testing (#849)
* add args and docs for multi-machine training/testing

* update docs

* update docs

* update docs

* update docs

* revert commit
2022-03-22 16:25:39 +08:00
Tong Gao
a851fadcb0
[Docs] Update tutorial notebook (#853) 2022-03-21 19:38:35 +08:00
JiangQing
44ee889141
[Doc] Update docs about installation on Windows (#852)
* support windows

* add macOS
2022-03-18 13:23:22 +08:00
JiangQing
72f9454573
[Refactor] Refactor ResNets (#809) 2022-03-18 10:36:03 +08:00
JiangQing
680dff373e
[Feature] Support jsonl in recognition converter (#844) 2022-03-18 09:22:32 +08:00
shaohua.zhang
f663dce26f
[Docs] Add the model serving translation document (#845)
* Update README_zh-CN.md

* Update README_zh-CN.md

* Add files via upload

* Update getting_started.md

* Update getting_started.md

* Update getting_started.md

* Add files via upload

* Update model_serving.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-17 19:53:13 +08:00
Tong Gao
d901b37035
[Fix] Add num_classes to configs of ABINet (#805)
* [Fix] Add num_classes to configs of ABINet

* add comments
2022-03-16 17:17:02 +08:00
shaohua.zhang
3d177deae9
[Docs] Add getting_started.md in docs/zh (#841)
* Update README_zh-CN.md

* Update README_zh-CN.md

* Add files via upload

* Update getting_started.md

* Update getting_started.md

* Update getting_started.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-16 14:18:13 +08:00
Xinyu Wang
368325f129
[Docs] Fix confused description for load-from and resume-from (#842)
* fix confusions

* fix confusions
2022-03-15 14:19:33 +08:00
kira
b0101839de
[Docs] Translate testing.md. (#822)
* Create testing.md

* Update testing.md

* Update testing.md
2022-03-11 20:38:20 +08:00
shaohua.zhang
963b725775
[Docs] Update README_zh-CN document URL (#823)
* Update README_zh-CN.md

* Update README_zh-CN.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-11 10:10:06 +08:00
Tong Gao
c25404b358
[Enhancement] Option for different seeds on different ranks (#820) 2022-03-10 10:43:36 +08:00
Tong Gao
f1609b50e9
[Docs] Correct misleading section title in training.md (#819)
* [Docs] Correct misleading section title in training.md

* grammar
2022-03-09 16:52:43 +08:00
Hongbin Sun
402e8f1162
[Feature] Support loading annotation file with petrel/http backend (#793)
* add petrel backend for ann_file loading

* support icdar dataset

* add http backend

* name back

* fix pytest

* support load lmdb file on ceph

* refactor

* add close for lmdb

* add log and warning msg

* rename

* typo

* update

* fix
2022-03-07 19:18:02 +08:00
Hongbin Sun
428688102d
[Fix] Use RECOGNIZER instead of DETECTORS (#685)
* use recognizer

* rm useless
2022-03-04 16:20:50 +08:00
Xinyu Wang
14c75da7bd
[Feature] Add FUNSD Converter (#808)
* Add FUNSD Converter

* Update tools/data/textrecog/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update tools/data/textrecog/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update tools/data/textdet/funsd_converter.py

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* blank line between sections

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix incorrect docstrings

* fix docstrings & fix timer

* add --preserve-vertical arg for preserving vertical texts

* fix --preserve-vertical

* [doc] fix recog.md incorrect description

* fix docstring style

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix docstring spaces

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-04 12:25:54 +08:00
Tong Gao
fb77352eb2
[Fix] Standardize the type of torch.device in ocr.py (#800) 2022-03-03 14:18:33 +08:00
Tong Gao
ac4462f374
[Feature] Add CurvedSyntext150k Converter (#719)
* [Feature] Add bezier_to_polygon to box_util

* Add num_sample to parameter

* add sort_point util

* update docstring

* Add curvedsyntext converter
2022-03-02 11:02:14 +08:00
Tong Gao
3110ab7863
[Enhancement] Add windows CI (#790)
* [Enhancement] Add windows CI

* [Enhancement] Add windows CI

* update

* update

* update

* [Fix] using assert will keep lmdb file opend and fail to cleanup in test_loader.py

* [Fix] map size should be small on windows in lmdb_util.py

* [Fix] Fix some bugs

* [Fix] Fix some bugs

* [Fix] Fix some bugs

* remove comments & fix bugs

Co-authored-by: Mountchicken <mountchicken@outlook.com>
2022-03-02 10:34:15 +08:00
DEEPBLUE
186aecbf59
[Docs] Add demo/README_zh.md (#802)
* add README_zh.md

* translate

* rough translation

* refine demo/README_zh.md

* fixes #802

* fix #802

* add README_zh.md

* fixes #802

* Update README_zh.md

* fix white-space problem

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* Update demo/README_zh.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>

* fix Readthedocs' keywords @gaotongxiao

* Fix minor errors, rename the file and process this file in the scripts for redthedocs

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-02 09:51:37 +08:00
xinke-wang
466b2ff6a9
[Docs] Update README.MD (#806) 2022-03-01 15:55:02 +08:00
xinke-wang
b7a4eac65f
[Enhancement] Add deprecation message for deploy tools (#801)
* Add deprecation message for deploy tools

* move wwarning info to start
2022-02-28 16:22:47 +08:00
Tong Gao
91f98bc645
[Enhancement] Add open-mmlab precommit hook (#787) 2022-02-22 12:52:04 +08:00
Tong Gao
5582e17feb
[Enhancement] Automatically infer device for inference if not speicifed (#781)
* [Enhancement] Automatically infer device for inference if not speicifed

* update docs

* fix unit test
2022-02-16 20:42:47 +08:00
Tong Gao
b91421e8b1
[Docs] Add detailed version requirement tables (#778) 2022-02-16 20:42:31 +08:00
Tong Gao
0f5c7d38f8
[Fix] Disable worker in the dataloader of gpu unit test 2022-02-16 20:42:22 +08:00
Tong Gao
fc9d73761b
[Fix] Set up the minimumversion requirement of albumentations (#769) 2022-02-15 16:51:58 +08:00
liukuikun
1aae45b7d3
[Docs] Relax mmcv version requirement (#775)
* update ci and readme

* Update docs/en/install.md

* Update docs/zh_cn/install.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-02-10 09:41:36 +08:00
Tong Gao
c466e6f82d
[Enhancement] Upgrade isort (#771)
* [Enhancement] Upgrade isort

* Fix files
2022-02-09 23:22:14 +08:00
Hongbin Sun
00ac7ab850
[Enhancement] update mmdet version limit (#773) 2022-02-09 10:25:07 +08:00
GPhilo
9e41054ea4
[Fix]: Use mmdet 2.20.0 in Dockerfile (#763) 2022-01-27 19:54:45 +08:00
Tong Gao
a75fc6bf99
Bump version to 0.4.1 (#755)
* 0.4.1 change log

* update version number

* update changelog

* update changelog

* update dates

* update version
v0.4.1
2022-01-27 14:39:17 +08:00
liukuikun
b054f609b4
[Enhancement] Remove unnecessary custom_import from test.py (#758) 2022-01-27 11:02:16 +08:00
liukuikun
e0ff11819b
[Feat] Support specify gpu for testing and training with gpu-id instead of gpu-ids and gpus (#756)
* support set gpu number for testing and deprecate gpu_ids and gpus with gpu_id

* update gpu-ids gpus and gpu-id dostring

* add args.gpus process

* fix typo

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-01-27 10:11:14 +08:00
Tong Gao
a809a52c78
[Feature] Support CPU training/testing (#752)
* [Feature] Support CPU training/testing

* check mmcv version for cpu training
2022-01-27 09:59:09 +08:00
Tong Gao
a36de7b48e
[Fix] Add necessary keys to test_pipelines to enable test-time visualization (#754) 2022-01-26 21:02:31 +08:00
liukuikun
d871eed79e
[Enhancement] Add setup multi-processing both in train and test. (#757) 2022-01-26 20:34:19 +08:00
Tong Gao
218f9f08d4
[Fix] Use yaml.safe_load instead of load (#753) 2022-01-26 14:29:30 +08:00
liukuikun
976b976e4a
[Docs] update readme according to standard (#742)
* config/readme standard

* add ABINet linking

* fix linking error, delete unused cite and adjust note sytle

* union note format

* Remove > before paper link when generating docs
2022-01-25 23:02:59 +08:00