Commit Graph

172 Commits (ce47b5339928baf9d144675b639096915aeee8b9)

Author SHA1 Message Date
Xinyu Wang ce47b53399
[Docs] Dataset Preparation (#1347)
* init dataset doc

* update data prep doc

* fix

* fix

* fix some docs

* update

* update

* updates

* update
2022-08-31 20:16:33 +08:00
Xinyu Wang bb80d16da2
[Docs] Overview (#1354)
* init overviews

* update

* update

* update

* update

* update links

* update

* fix

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-08-31 20:15:39 +08:00
Tong Gao f788bfdbb9
[Docs] Quick run (#1352)
* [Docs] Quick run

* fix link

Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-31 16:21:50 +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
Tong Gao 19b19cc404
[Docs] Code migration guide (#1350)
* [Docs] Code migration guide

* Apply suggestions from code review

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

* fix

* fix comment

Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-08-31 15:50:59 +08:00
liukuikun bfa2f20a35
[Enchance] inter sphinx mapping (#1346)
* inter sphinx mapping

* fix comment
2022-08-31 15:50:48 +08:00
liukuikun 8f0141cfaa
cherry pick main (#1355)
* [Fix] Update owners (#1248)

* [Docs] Update installation guide (#1254)

* [Docs] Update installation guide

* add pic

* minor fix

* fix

* [Docs] Update image link (#1255)

* [Docs] demo, experiments and live inference API on Tiyaro (#1272)

* docs: added Try on Tiyaro Badge

* docs: fix mdformat

* docs: update tiyaro docs url

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
Co-authored-by: Venkat Raman <vraman2811@gmail.com>
2022-08-31 09:32:55 +08:00
Xinyu Wang 8b32ea6fa9
[Docs] Training & Testing Tutorials (#1331)
* zh-cn train & test tutorial

* add En

* fix comments

* Update docs/en/user_guides/train_test.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-08-30 19:54:04 +08:00
Xinyu Wang 8c904127a8
[Doc] Migration Guide of Data Transforms (#1318)
* init check

* update for preview

* preview

* preview

* update

* update

* update

* update

* update

* update

* add linkes to apis

* update

* fix comments

* fix comments

* fix comments

* fix typo

* Update docs/en/migration/transforms.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-08-30 19:46:46 +08:00
Xinyu Wang 56179fe1a9
update api (#1339) 2022-08-29 18:36:38 +08:00
Xinyu Wang ea537bbe86
[Docs] Empty doc tree (#1336)
* refactor doc tree

* add titles

* update

* update

* fix

* fix a bug

* remove ner in readme

* rename advanced guides

* fix migration
2022-08-29 15:37:13 +08:00
Tong Gao 6f30020eec
[CI] Add CI (#1176)
* [CI] Add CI

* update init

* fix lint

* fix lint

* fix linting

* fix linting

* fix linting

* fix

* fix

* fix

* fix

* fix

* fix

* disable github ci

* fix

* Update .circleci/test.yml

Co-authored-by: Qing Jiang <mountchicken@outlook.com>

* fix

* fix

Co-authored-by: Qing Jiang <mountchicken@outlook.com>
2022-07-21 14:28:57 +08:00
wangxinyu 20e999e3b9 [Tools] Update tools dir structure 2022-07-21 10:58:02 +08:00
jiangqing.vendor dc84187311 [TODO] Replace loss_module with module_loss 2022-07-21 10:57:31 +08:00
gaotongxiao 914c8af7bf Revert "[TODO] Add LoadImageFromLMDB"
This reverts commit e716ae726f007f79effdf2d45b4955a887f3c1e3
2022-07-21 10:57:30 +08:00
jiangqing.vendor 19958fbf6f [TODO] Add LoadImageFromLMDB 2022-07-21 10:57:17 +08:00
gaotongxiao 536dfdd4bd Add PyUpgrade pre-commit hook 2022-07-21 10:50:56 +08:00
~akA,4}3(V 73222b270c
[Fix] Update lmdb_converter and ct80 cropped image source in document (#1164)
* fix #1088: replace txt2lmdb.py with lmdb_converter.py in eng doc

* fix #536: add ct80 cropped image source

* update ct80 link

update ct80 link to permanent link
2022-07-20 19:25:39 +08:00
leezeeyee 4c1790b3c6
[Fix] fix typo of --lmdb-map-size default value (#1147)
* fix typo of --lmdb-map-size default value

* fix

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-07-16 21:32:15 +08:00
Nidham Tekaya 688d72fdc4
[Fix] links update (#1141)
* links update

* fix typing

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-07-08 10:42:22 +08:00
liukuikun e1e26d3f74
[Enchance] add codespell ignore and use mdformat (#1022)
* update

* update contributing

* update ci

* fix md

* update pre-commit hook

* update mdformat

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-06-09 14:58:44 +08:00
Qing Jiang f89ab858f4
[Doc] Fix a error in docs/en/tutorials/dataset_types.md (#1034)
* loss

* fix

* 'update'
2022-05-24 23:39:01 +08:00
Xinyu Wang 13986f497d
[Feature] Add ArT (#1006)
* add art

* fix typo
2022-05-17 23:59:15 +08:00
Tong Gao 3059c97dc5
[Docs] Configure Myst-parser to parse anchor tag (#1012) 2022-05-12 22:49:55 +08:00
Xinyu Wang 9cfa29f862
[Docs] Fix typos (#1001) 2022-05-06 17:15:36 +08:00
Tong Gao 1962c249a6
Bump version to 0.6.0 (#996)
* initial

* update changelog

* update version num

* fix

* fix letter case

* grammar
2022-05-05 22:16:41 +08:00
Qing Jiang de2851e3c2
[Feature] Add HierText converter (#948)
* loss

* fix

* [feature] add hiertext

* fix name

* update docs

* update

* update markdown

* update doc

* update doc

* update docs
2022-05-05 16:31:36 +08:00
Jianquan Ye 061d353b2a
[Model] Add MASTER (#807)
* fix #794: add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* Fix linting

* after git rebase main

* after git rebase main

* fix conflict add MASTER

* fix conflict add MASTER

* after git rebase main

* fix conflict add MASTER

* fix conflict add MASTER

* fix conflict add MASTER

* after git rebase main

* add GCAModule to plugins

* coexist master and master_old

* fix merge mmocr 0.5.0 conflict

* fix lint error

* update

* [fix] remove remains in __init__

* [update] update code in review

* update readme for master

* Add docstr to MasterDecoder, refined MasterDecoder, remove MASTERLoss

* Unify the output length of MasterDecoder in train and test mode; add test for it, remove MasterLoss

* update readme

* update

* update metafile,README,demo/README,config,ocr.py

* Update mmocr/utils/ocr.py

* update

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
Co-authored-by: Mountchicken <mountchicken@outlook.com>
2022-05-05 16:06:15 +08:00
Tong Gao 137713fbc3
[Docs] Renew dataset_types.md (#997)
* refactor dataset_types

* fix

* add docs for evaluation parameters in textdet & recog datasets

* HardDiskLoader -> AnnFileLoader
2022-05-05 15:22:15 +08:00
Hongbin Sun a2d741b8a7
[Feature] Add labelme converter for textdet and textrecog (#972)
* add labelme converter

* move to common

* add labelme sample annos

* add doc

* remove useless field generated by labelme to reduce size

* add recog_format option; add skip ignored instances while cropping

* set warp as false by default

* update doc

* fix typo

Co-authored-by: xinke-wang <wangxinyu2017@gmail.com>
Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-05-03 17:28:22 +08:00
Qing Jiang 92ef554a82
[Feature] Add recog2lmdb and new toy dataset files (#979)
* loss

* fix

* add img2lmdb and test files

* update

* add reference

* fix lint

* fix typo

* use total_numer instead to fit mmocr's lmdbloader

* reorganize and update

* fix lint

* update test file

* refactor and update

* fix test

* update doc in tools

* fix lint

* update old lmdb test file

* update

* mask the unittest for recog2lmdb and use json format for label_only

* remove if __name__

* fix case, doc, typo, formats

* fix typos

* fix docs and variable names

* Apply suggestions from code review

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

* update test_loader.py and fix a bug

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-04-29 22:30:36 +08:00
Qing Jiang d8549ade85
[Feature] Support loading images and labels from lmdb file (#982)
* loss

* fix

* add LoadImageFromLMDB

* update

* new version

* add json

* fix bug

* Compatible with older versions

* modify test_loader

* add docstring and update test_loader

* fix a bug

* fix docstring and update doc

* update

* Update mmocr/datasets/utils/backend.py

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

* Update docs/en/tutorials/dataset_types.md

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

* fix lint

Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-04-29 15:46:36 +08:00
Tong Gao 64f02ba1a2
[Fix] Update installation step of `albumentations` (#984)
* [Fix] Update installation step of `albumentations`

* update albu installation guide
2022-04-28 00:01:27 +08:00
Qing Jiang 24ac18e653
[Update] Update the version requirement of mmdet in docker (#966)
* loss

* fix

* update

* update mmdet version in doc

* update

* update __init__
2022-04-24 10:12:39 +08:00
Xinyu Wang 06b73cf71a
[Fix] Fix TotalText Anno version issue (#945)
* fix tt converter version issue; fix typos in docs

* remove incorrect descriptions

* fix docstring & incorrect file name

* fix docstring identation
2022-04-23 23:57:21 +08:00
Tong Gao c08c113bd4
[Enhancement] Support latest MMCV (#959) 2022-04-21 19:10:52 +08:00
Xinyu Wang 9c54e7eb00
[Feature] Add RCTW dataset converter (#914)
* add rctw

* fix typos
2022-04-18 09:27:18 +08:00
Xinyu Wang 20fc909fc4
[Feature] Add LSVT Data Converter (#896)
* add lsvt

* fix name

* fix name

* update

* add lsvt

* set default val 0

* fix a bug

* fix typos

* fix file name

* fix lint

* fix lint
2022-04-18 09:15:42 +08:00
Xinyu Wang c155935087
[Docs] update recog.md for lmdb generation [ci skip] (#934) 2022-04-17 09:02:24 +08:00
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 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
Qing Jiang 1ddfd7f36e
[Docs] update doc for ILST, VinText, BID (#902)
* loss

* fix

* update
2022-03-30 22:37:38 +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 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