Commit Graph

189 Commits (22283b4acd047bd67184019cb37eec1c3116ebde)

Author SHA1 Message Date
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 8b8cc4e6e5
[Docs] config (#1351)
* config chinese

* update

* Update docs/zh_cn/user_guides/config.md

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

* fix link

* updata link

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
Co-authored-by: Xinyu Wang <45810070+xinke-wang@users.noreply.github.com>
2022-08-31 22:56:46 +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
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