Commit Graph

160 Commits (main)

Author SHA1 Message Date
Quantum Cat 4eb3cc7de5
[Feature] Add scheduler visualization from mmpretrain to mmocr (#1866)
* 2023/04/18 vis_scheduler_transportation_v1

* lint_fix

* Update docs/zh_cn/user_guides/useful_tools.md

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

* Update docs/zh_cn/user_guides/useful_tools.md

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

* Update docs/en/user_guides/useful_tools.md

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

* 2023/04/25 add -d 100

---------

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2023-04-25 22:36:12 +08:00
frankstorming e9a31ddd70
[Bug] Fix TypeError bug (#1868)
* 'message'

* revert dict files

---------

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2023-04-25 09:50:58 +08:00
Tong Gao 73df26d749
[Enhancement] Accepts local-rank in train.py and test.py (#1806)
* [Enhancement] Accepts local-rank

* add

* update
2023-03-27 10:34:54 +08:00
Tong Gao 1a379f2f1b
[Fix] Clear up some unused scripts (#1798) 2023-03-22 14:00:55 +08:00
Tong Gao 9caacc76ee
[Enhancement] Deprecate file_client_args and use backend_args instead (#1765)
* tmp commit

* remove
2023-03-20 10:33:20 +08:00
Tong Gao d56155c82d
[Feature] Support lmdb format in Dataset Preparer (#1762)
* [Dataset Preparer] Support lmdb format

* fix

* fix

* fix

* fix

* fix

* readme

* readme
2023-03-07 20:08:25 +08:00
Tong Gao 33cbc9b92f
[Docs] Inferencer docs (#1744)
* [Enhancement] Support batch visualization & dumping in Inferencer

* fix empty det output

* Update mmocr/apis/inferencers/base_mmocr_inferencer.py

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>

* [Docs] Inferencer docs

* fix

* Support weight_list

* add req

* improve md

* inferencers.md

* update

* add tab

* refine

* polish

* add cn docs

* js

* js

* js

* fix ch docs

* translate

* translate

* finish

* fix

* fix

* fix

* update

* standard inferencer

* update docs

* update docs

* update docs

* update docs

* update docs

* update docs

* en

* update

* update

* update

* update

* fix

* apply sugg

---------

Co-authored-by: liukuikun <24622904+Harold-lkk@users.noreply.github.com>
2023-03-07 18:52:41 +08:00
liukuikun 82f81ff67c
[Refactor] Refactor data converter and gather (#1707)
* Refactor dataprepare, abstract gather, packer

* update ic13 ic15 naf iiit5k cute80 funsd

* update dataset zoo config

* add ut

* finsh docstring

* fix coco

* fix comment
2023-03-03 15:27:19 +08:00
double22a 280a89c18e
[Fix] bezier_to_polygon -> bezier2polygon (#1739) 2023-02-21 19:16:17 +08:00
Kevin Wang 37c5d371c7
Fix some browse dataset script bugs and draw textdet gt instance with ignore flags (#1701)
* [Enhancement] textdet draw gt instance with ignore flags

* [Fix] 明确key值定义,防止后续使用img_path时得到lmdb格式中的img_key导致图片无法读取

* [Fix] fix five browse_dataset.py script bugs

* [Fix] fix some pr problems

* [Fix] keep img_path attribute

* [Fix] 防止width很大text很小时,font_size过大显示不全(做keep_ratio的resize然后padding到固定尺寸时可能出现此类情况)
2023-02-17 15:40:24 +08:00
liukuikun 1127240108
[Feature] Support auto import modules from registry. (#1731)
* [Feature] Support auto import modules from registry.

* limit mmdet version

* location parrent dir if it not exist
2023-02-17 10:28:34 +08:00
liukuikun f820470415
[Feature] Rec TTA (#1401)
* Support TTA for recognition

* updata readme

* updata abinet readme

* updata train_test doc for tta
2023-02-16 10:27:07 +08:00
liukuikun 7cea6a6419
[Enchancement] Only keep meta and state_dict when publish model (#1729)
* Only keep meta and state_dict when publish model

* simpy code
2023-02-15 19:45:12 +08:00
Ikko Eltociear Ashimine b3be8cfbb3 Fix typo in ilst_converter.py (#1711)
* Fix typo in ilst_converter.py

splited -> splitted

* Fix typo in ilst_converter.py
2023-02-11 09:09:38 +08:00
Xinyu Wang c38618bf51
[Feature] Support browse_dataset.py to visualize original dataset (#1503)
* update browse dataset

* enhance browse_dataset

* update docs and fix original mode

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-12-16 22:34:23 +08:00
Tong Gao c957ded662
[Fix] Auto scale lr (#1584) 2022-12-01 14:07:10 +08:00
Tong Gao cfce57ad87
[Feature] Add config generator (#1552)
* [Feature] Add config generator

* update icdar2013

* fix ut

* simplify design

* cfg generator

* update

* fix
2022-11-21 14:23:20 +08:00
DingNing@sanmenxia 29107ef81d
[Feature] Add print_config.py to the tools (#1547)
* add print_config.py to the tools

* fix bugs
2022-11-17 15:35:01 +08:00
Xinyu Wang 8864fa174b
[Feature] Add Dataset Preparer (#1484)
* add data preparer

* temporarily ignore data preparer test

* update

* fix comments

* update doc; add script to generate dataset zoo doc

* fix comments; update scripts

* apply comments

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

* apply comments

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

* coco parser

* fix comments

* add fileio tests

* fix test

* add tests for parsers and dumpers

* add test for data preparer

* fix a bug

* update icdar txt parser

* rename icdar txt parser

* fix comments

* fix test

* fix comments

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
Co-authored-by: liukuikun <641417025@qq.com>
2022-11-02 15:06:49 +08:00
Tong Gao a09437adaa
[Fix] Fix offline_eval error caused by new data flow (#1500) 2022-10-28 18:56:11 +08:00
vansin e7e46771ba
[WIP] support get flops and parameters in dev-1.x (#1414)
* [Feature] support get_flops

* [Fix] add the divisor

* [Doc] add the get_flops doc

* [Doc] update the get_flops doc

* [Doc] update get FLOPs doc

* [Fix] delete unnecessary args

* [Fix] delete unnecessary code in get_flops

* [Doc] update get flops doc

* [Fix] remove unnecessary code

* [Doc] add space between Chinese and English

* [Doc] add English doc of get flops

* Update docs/zh_cn/user_guides/useful_tools.md

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

* Update docs/zh_cn/user_guides/useful_tools.md

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

* Update docs/en/user_guides/useful_tools.md

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

* Update docs/en/user_guides/useful_tools.md

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

* Update docs/en/user_guides/useful_tools.md

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

* Update docs/en/user_guides/useful_tools.md

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

* [Docs] fix the lint

* fix

* fix docs

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-10-09 17:47:51 +08:00
Qing Jiang b4336204b8
[Fix] browse_dataset.py (#1398) 2022-09-21 18:56:29 +08:00
Xinyu Wang ac02c20581
[Fix] Update all rec converters (#1284)
* init

* enable non-ascii dump

* fix

* kaist non-ascii

* fix conflicts

* fix

* update

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-09-01 13:17:01 +08:00
Xinyu Wang e72edd6dcb
[Docs] Useful Tools (#1349)
* init useful tools

* apply comments

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

* update link

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-31 15:51:12 +08:00
liukuikun bf042f8267
[Feture] kie visualizer (#1267)
* kie visualizer

* add  textspotting visualizer

* Fix

* fix

* Some fixes

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-08-29 20:13:06 +08:00
Tong Gao b32412a9e9
[Refactor] MMEngine directory tree (#1317) 2022-08-25 11:46:04 +08:00
Tong Gao b0b6dadc00
[Fix] mmcv.utils -> mmengine.utils (#1295)
* [Fix] mmcv.utils -> mmengine.utils

* mmcv -> mmengine
2022-08-22 14:13:22 +08:00
Tong Gao 7fcfa09431
[Fix] Support customize runner and visualization in train/test.py, an… (#1279)
* [Fix] Support customize runner and visualization in train/test.py, and update configs missing from dataflow refactor

* Fix vis

* Apply suggestions from code review

Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>

* [Config] Refactor & fix DB, DBPP, DRRG configs (#1181)

* refactor base datasets, fix drrg config

* rename

* update dbnet and drrg

* fix

* fix

* Raise Error

Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-08-22 10:48:50 +08:00
Tong Gao c7a4298c32
[Fix] Replace mmcv.fileio with mmengine (#1292) 2022-08-19 16:53:14 +08:00
Tong Gao 97f6c1d5d6
[Fix] Fix browse_dataset (#1271) 2022-08-10 17:48:49 +08:00
liukuikun 37ff38e7aa
[Fix] fix base name and dist_xx (#1253)
* fix base name and dist_xx

* update registry
2022-08-04 15:25:54 +08:00
liukuikun 1b33ff5d76 [Feat] support fp16 auto resume and auto scale lr 2022-07-21 10:58:03 +08:00
wangxinyu 20e999e3b9 [Tools] Update tools dir structure 2022-07-21 10:58:02 +08:00
gaotongxiao eb2d5b525a Migrate part of old_tests 2022-07-21 10:57:31 +08:00
xinyu efd81b7a5a fix bug 2022-07-21 10:57:17 +08:00
liukuikun d50d2a46eb [Processing]remove segocr and split processing 2022-07-21 10:57:17 +08:00
jiangqing.vendor ee1212a5cd [TODO] update recog data_migrator 2022-07-21 10:57:17 +08:00
xinyu 23e1f2432a update utils 2022-07-21 10:57:16 +08:00
wangxinyu de78a8839f Remove useless 2022-07-21 10:55:46 +08:00
wangxinyu 8313e698d2 [Feature] Add offline eval script 2022-07-21 10:51:04 +08:00
xinke-wang 24575de140 init 2022-07-21 10:51:03 +08:00
gaotongxiao 1af7f94a63 P3: Update textdet data conversion scripts 2022-07-21 10:51:01 +08:00
jiangqing.vendor 8ac235677e [Update] Update data_migrator to suit MJ dataset 2022-07-21 10:51:00 +08:00
jiangqing.vendor 22d90301b8 [Tool] Add browse_dataset 2022-07-21 10:50:59 +08:00
liukuikun a379d086f1 fix some bug 2022-07-21 10:50:59 +08:00
liukuikun fe43259a05 [Refactor] train and test 2022-07-21 10:50:59 +08:00
Mountchicken 4246b1eaee update 2022-07-21 10:50:59 +08:00
gaotongxiao df2f7b69db Add recognition data migrator 2022-07-21 10:50:57 +08:00
gaotongxiao 6a260514e8 Add coco data migrator for detection 2022-07-21 10:50:57 +08:00
gaotongxiao 536dfdd4bd Add PyUpgrade pre-commit hook 2022-07-21 10:50:56 +08:00