97 Commits

Author SHA1 Message Date
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
Tong Gao
3d015462e7
[Feature] Update model links in ocr.py and inference.md (#1431)
* [Feature] Update model links in ocr.py and inference.md

* Apply suggestions from code review

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

Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-10-09 12:43:23 +08:00
liukuikun
4fef7d1868
Upgrade pre commit hooks (#1429) 2022-10-08 15:00:21 +08:00
Xinyu Wang
a0284ae910
[Docs] Add maintainance plan to migration guide (#1413)
* init

* update en plan

* fix typos

* add coming soon flags
2022-09-29 10:59:51 +08:00
Xinyu Wang
73ba54cbb0
[Docs] Fix some docs (#1410)
* fix doc

* update structures

* update
2022-09-28 21:29:06 +08:00
Tong Gao
8d29643d98
[Docs] Fix inference docs (#1415) 2022-09-28 20:56:03 +08:00
Xinyu Wang
22283b4acd
[Docs] Data Transforms (#1392)
* init

* reorder

* update

* fix comments

* update

* update images

* update
2022-09-27 10:48:41 +08:00
Tong Gao
77ab13b3ff
[Docs] Add version switcher to menu (#1407)
* [Docs] Add version switcher to menu

* fix link
2022-09-27 10:44:32 +08:00
Xinyu Wang
5a88a771c3
[Docs] Metrics (#1399)
* init

* fix math

* fix

* apply comments

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

* apply comments

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

* apply comments

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

* fix comments

* update

* update

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-09-26 14:11:04 +08:00
liukuikun
c6cc37b096
[Docs] config english (#1372)
* config english

* fix many comments

* fix many comments again

* fix some typo

* Update docs/en/user_guides/config.md

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-09-23 10:10:32 +08:00
Xinyu Wang
0dd72f40f7
[Docs] Add Documents for DataElements (#1381)
* init

* fix links

* add En version

* fix some links

* fix docstring

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* apply comments

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

* update cn

* fix comments

* fix links

* fix comments

* fix

* delete

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-09-21 15:34:12 +08:00
Tong Gao
87f15b3135
[Docs] Fix some docs issues (#1385) 2022-09-13 15:47:40 +08:00
Tong Gao
7f3d832074
[Docs] Fix quickrun (#1374) 2022-09-07 10:52:20 +08:00
liukuikun
e8d1bc37d3
[Docs] intersphinx and api (#1367)
* inter sphinx and api

* rm visualizer.py
2022-09-05 14:25:38 +08:00
liukuikun
45f3f51dba
updata inference res (#1364) 2022-09-01 14:23:07 +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
liukuikun
27697e387c
[Docs] install (#1358)
* updata install

* run ocr.py

* updata link

* updat

* updata link
2022-09-01 12:48:39 +08:00
Tong Gao
a6f6b12277
Changelog (#1361)
* draft

* mv

* update changelog

* update

* update link

Co-authored-by: xinyu <wangxinyu2017@gmail.com>
2022-09-01 12:47:38 +08:00
Tong Gao
415bb7f8d0
Update demo (#1362)
* update

* update

* update

* update

* demo

* update

* update

* update link

Co-authored-by: liukuikun <liukuikun@sensetime.com>
2022-09-01 12:45:28 +08:00
Xinyu Wang
2a9e8f5306
[Docs] Migration Guide of Datasets (#1325)
* init

* fix comments

* update

* remove ner

* fix comments

* update lmdb doc

* update link

* fix

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-09-01 10:51:19 +08:00
Tong Gao
a979346e35
Update demo docs (#1360)
* update

* update

* update

* update

* demo
2022-09-01 09:23:06 +08:00
liukuikun
dbb346afed
[Docs] vis doc (#1353)
* vis doc

* fix comment

* fix link
2022-08-31 21:28:29 +08:00
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