Commit Graph

518 Commits (v0.6.0)
 

Author SHA1 Message Date
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
Tong Gao 878383b9de
[Fix] Fix lint_only (#998) 2022-05-05 17:09:05 +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
Tong Gao 1ad4caa7cb
[Enhancement] Allow choosing metrics to report in text recognition tasks (#989)
* [Enhancement] Allow choosing metrics to report in text recognition tasks

* add acc support

* refine docstr
2022-05-05 16:10:38 +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
Xinyu Wang fbc138d2d3
[Feature] Add DBNet++ (#973)
* add dbnet++

* fix docstring

* fix some param names

* fix

* fix docstring

* add init

* add doc; remove configs

* add dbnet++ to readme

* fix readme

* update config

* update readme

* update readme

* update ocr.py

* update metafile.yml

* update readme

* update readme

* move to dbnetpp

* fix paths

* fix head level

* fix typo

* update demo.md

* Update configs/textdet/dbnetpp/README.md

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

* fix typo

* fix link
2022-05-05 14:39:20 +08:00
Xinyu Wang b4678eb657
[Fix] Fix Data Converter Issues (#955)
* fix naf mask issue; fix lv path issue

* fix path

* fix ic13, ic11 path issue; fix cocotextv2 mask issue

* fix funsd format
2022-05-05 14:09:05 +08:00
Tong Gao ae1cf42503
[CI] Use new image (#976)
* test

* test

* test

* add docker file

* use dlc

* test

* test

* add parameters

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* final

* test

* test

* tes

* tes

* test

* test

* test

* test

* test

* test

* test

* test

* ch shell

* add gpg keys back

* finalize

* add space back

* fix link
2022-05-05 13:02:07 +08:00
Tong Gao 6b180db93d
[Enhancement] Automatically report mean scores when applicable (#995) 2022-05-05 12:57:19 +08:00
Xinyu Wang 28c9e460d5
[Enhancement] Add SynthText dataset config (#983)
* add synthtext config; add db pretrain config; move checkpoint config to schedule

* add db_r50 synthtext config

* fix r50 eval iter

* fix lint

* fix
2022-05-05 12:57:07 +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 c91763ad09
[Fix] update label.lmdb (#991)
* loss

* fix

* hotfix
2022-04-29 23:26:32 +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 064a2b8c45
[Feature] Support computing mean scores in UniformConcatDataset (#981)
* Get avg results in UniformConcatDataset

* add docstr

* Fix

* fix test

* fix typo
2022-04-29 14:48:21 +08:00
Tong Gao 9641854433
[Fix] Fix GPG key error in CI and docker (#988)
* [Fix] Fix GPG key error in CI and docker

* update ignore paths
2022-04-29 10:39:23 +08:00
Tong Gao 0c8fa52b22
[Fix] Fix ImgAug transform (#949)
* [Fix] Fix bbox case in ImgAug

* Finialize the augmentation and add tests
2022-04-28 22:52:11 +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
Xinyu Wang 798614aad0
[Enhancement] Update Dataset Configs (#980)
* update runner in configs

* update AnnFileLoader
2022-04-27 12:53:57 +08:00
Tong Gao 700b5d7a60
[Fix] Revert a wrong setting in db_r18 cfg (#978) 2022-04-27 10:30:46 +08:00
Tong Gao 52c95ccaac
[Enhancement] Replace `opencv-python-headless` with `open-python` (#970)
* [Enhancement] Relax OpenCV version requirement

* fix version
2022-04-25 11:03:02 +08:00
Tong Gao 805a7aa5bd
[Docs] Use QR codes from MMCV (#971) 2022-04-24 11:33:32 +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
Qing Jiang e51d8533ea
[Fix] Fix a Bug in ResNet plugin (#967)
* loss

* fix

* fix bug
2022-04-23 17:22:46 +08:00
Tong Gao 888f700134
[Enhancement] Support dynamic threshold range in eval_hmean (#962)
* [Enhancement] Support dynamic threshold range in eval_hmean

* upgrade textdetdataset, add deprecate warning
2022-04-22 17:07:36 +08:00
Tong Gao 5555916032
[Docs] Update CONTRIBUTING.md (#947)
* [Docs] Update Ruby installation guide in contributing.md

* [Docs] Update Ruby installation guide in contributing.md

* fix

* update
2022-04-21 22:50:11 +08:00
Tong Gao 472acc2193
[Docs] Add wechat QR code to CN readme (#960)
* [Docs] Add wechat QR code to CN readme

* add descriptions for wechat group
2022-04-21 19:11:04 +08:00
Tong Gao c08c113bd4
[Enhancement] Support latest MMCV (#959) 2022-04-21 19:10:52 +08:00
Tong Gao 735de687aa
[Docs] Add MMCV (#954) 2022-04-20 23:00:39 +08:00
Tong Gao 373d45700d
[Enhancement] Rename github tests, fix ignored paths (#946) 2022-04-18 19:30:26 +08:00
Qing Jiang 66880d2b29
[Fix] Fix a deprecate warning about mmdet.datasets.pipelines.formating (#944)
* loss

* fix

* fix a DeprecationWarning

* test ci

* test ci
2022-04-18 11:29:54 +08:00
Tong Gao 98add1453f
[Enhancement] Skip CIs when docs are modified (#941) 2022-04-18 11:29:31 +08:00
Xinyu Wang 9c54e7eb00
[Feature] Add RCTW dataset converter (#914)
* add rctw

* fix typos
2022-04-18 09:27:18 +08:00
Tong Gao b4a9a87eee
[Enhancement] More customizable fields in dataloaders (#933)
* [Enhancement] More customizable fields in val and test dataloaders

* update default_loader_cfg
2022-04-18 09:24:07 +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
garvan2021 b11fa80d82
[Fix] correct meta key (#926)
* correct meta key

* fix test metakey
2022-04-18 09:09:09 +08:00
Xinyu Wang c155935087
[Docs] update recog.md for lmdb generation [ci skip] (#934) 2022-04-17 09:02:24 +08:00
Xinyu Wang d8adb9b2bb
[Enhancement] Update Git Action (#930)
* update git action

* test build_push

* fix conflicts

* test py3.9 & pt1.11.0

* test py3.10

* fix

* fix

* fix

* test all cases

* rerun

* done

* add Codecov

* fix comment

* fix comment

* done

* test

* remove comments

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-04-14 00:14:40 +08:00
Xinyu Wang 006737d1ab
[Fix] Fix CircleCi Main Branch Accidentally Run PR Stage Test (#927)
* print params

* fix

* add filter

* uncomment
2022-04-13 10:22:43 +08:00
Xinyu Wang a3834ab24e
[Enhancement] Update CircleCI configs (#918) 2022-04-11 11:32:04 +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 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