Commit Graph

476 Commits (3179e4d6bd1b8a534c9a79879bd6bb50fd5e7e88)
 

Author SHA1 Message Date
Y-M-Y 3179e4d6bd
[Feature] Add analyze_logs in tools and its description in docs (#899)
* Create analyze_logs.py

* Update tools.md

* fix lint and typo

* Update analyze_logs.py

* Add arg table and demo log file

* Delete line66 for lint error

* fix captial letters

* update doc

* fix markdown indentation

* Add log_analysis_demo.png to demo/resources

* Add log_analysis_demo.png and two links in table

* Improve epoch-based metric

* fix lint error

* fix lint error(tabs and spaces)

* check code lints and format

Co-authored-by: Mountchicken <mountchicken@outlook.com>
Co-authored-by: xinke-wang <wangxinyu2017@gmail.com>
2022-04-02 22:40:39 +08:00
Tong Gao 4c57bd35ac
[Docs] Fix the misleading description in test.py (#908)
* [Docs] Fix misleading description in test.py

* update docs
2022-04-02 11:31:48 +08:00
Tong Gao a9309d83b6
[Docs] Update CONTRIBUTING.md (#905)
* [Docs] Update CONTRIBUTING.md

* [Docs] Update CONTRIBUTING.md

* fix case
2022-04-01 19:55:30 +08:00
Tong Gao 0546134771
Bump version to 0.5.0 (#904) 2022-03-31 17:42:24 +08:00
Tong Gao 7a6b9848ed
[Docs] Reorganize the directory structure section in det.md (#894)
* [Docs] Reorganize the directory structure section in det.md

* improve

* fix indentation

* Fix structure

* sync dataset order to the overview

* format det doc

* fix |
2022-03-31 15:10:21 +08:00
liukuikun 581c9affba
[Enchance] Recog dataset doc (#893)
* [Enhancement] refactor recog datset content tree

* update recog

* update
2022-03-31 15:10:02 +08:00
Tong Gao 051df9a77b
[Fix] Fix typos in readme (#903) 2022-03-30 23:32:09 +08:00
Qing Jiang 1ddfd7f36e
[Docs] update doc for ILST, VinText, BID (#902)
* loss

* fix

* update
2022-03-30 22:37:38 +08:00
liukuikun 7b7c8504f6
[Docs] Brief installation instruction in README (#897) 2022-03-30 22:30:51 +08:00
Xinyu Wang c6bb105b83
[Docs] Update Instructions for New Data Converters (#900)
* update docs

* fix spaces & add deprecation

* fix funsd

* remove repeated docs
2022-03-30 22:07:17 +08:00
Xinyu Wang bea8587f3f
[Feature] Add ReCTS Data Converter (#892) 2022-03-30 15:24:37 +08:00
Xinyu Wang 6ef3ecd300
[Feature] Add COCO Text v2 Data Converter (#872) 2022-03-30 15:22:53 +08:00
Xinyu Wang ec7b8420bf
[Feature] Add MTWI Data Converter (#867) 2022-03-30 15:18:04 +08:00
Qing Jiang 4ab411e84c
[Feature] Add Vintext Converter (#864) 2022-03-30 15:16:04 +08:00
Qing Jiang a682ca5dfd
[Feature] Add BID Converter (#862)
* newdataset

* d

* add docs

* fix bugs and docs

* fix bugs

* fix docs and add annotation format in load_txt_file

* fix funsd

* change _ to -

* update doc and and add ignores to store verticle instances

* update doc

* using crops instead of dst_imgs

* replace test with val

* fix docstring

* fix doc

* update doc

* fix padding size

* update doc

* update doc

* update tree structure

* add - before after

* add optional

* add tab before bash

* set val-ratio to 0.

* fix docstring

* fix lint

* revert docs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 15:14:44 +08:00
Xinyu Wang 7a8cf99524
[Feature] Add IC13 (Focused Scene Text) Data Converter (#861)
* add ic13 data converter

* fix extension

* add docs

* fix doc

* fix doc

* update docs

* move directory tree

* fix indentation

* revert docs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 15:13:29 +08:00
Xinyu Wang 692425e79d
[Feature] Add IC11 (Born-digital Images) Data Converter (#857)
* add IC11 (born-digital images) converter

* fix

* fix format

* add docs; fix format;

* fix doc

* doc string

* fix docs

* move directory tree

* fix indentation

* revert docs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 15:12:40 +08:00
Xinyu Wang 347a8090e2
[Feature] Add KAIST Converter (#835)
* add KAIST converter

* support jsonl; save filtered imgs to ignores

* add docs

* fix doc; add annotation format docstring; fix jsonl ascii

* fix docstring

* update doc for preserve vertical

* fix doc

* move directory tree

* move directory tree

* fix indentation

* set default val to 0

* im -> img

* fix det val default rate

* revert docs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 15:11:04 +08:00
Qing Jiang e780563ed7
[Feature] Add ILST Converter (#833)
* [Feature] Add ILST Converter

* [fix] typo

* add docs and remove latin

* add docs and remove latin

* fix bug

* fix bugs and docs

* fix bugs

* add annotation format in load_xml_file and change test_ratio to val_ratio

* bug fix

* fix docstring

* chane _ to -

* add ignores to store filtered vertical instances

* update doc

* update doc

* using crops instead of dst_imgs

* fix typos and remove test with val

* fix docstring

* update doc

* fix padding size

* update doc

* simplify bash

* update doc

* update doc

* remove tree

* update tree structure

* add - before after

* add optional

* add tab before bash

* set val-ratio to 0.

* Update docs/en/datasets/det.md

* fix lint

* fix lint

* revert docs

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-30 15:09:39 +08:00
Xinyu Wang b68afca2d4
[Feature] Add IMGUR Converter (#825)
* add IMGUR converter

* fix typo

* support jsonl; update docs

* fix recog doc overview

* move directory tree

* fix indentation

* revert docs

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-03-30 15:07:55 +08:00
Xinyu Wang ee2c3cfd46
[Feature] Add DeText Converter (#818)
* add DeText Converter

* Update tools/data/textrecog/detext_converter.py

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

* update doc; support jsonl; fix docstrings

* update mkdir func

* fix bug

* update doc; do not filter for test val

* move directory tree

* fix indentation

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-03-30 14:43:33 +08:00
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