Commit Graph

539 Commits (d669ce2e8286937e1ed16ec9feae6401ce5893f5)
 

Author SHA1 Message Date
Tong Gao d669ce2e82
[Fix] typo in setup.py (#1095) 2022-06-21 17:40:47 +08:00
Tong Gao 4f36bcd1aa
[CI] Remove reduntant steps (#1091) 2022-06-21 10:34:25 +08:00
Tong Gao b78f5b3b26
[Enhancement] Test mim in CI (#1090) 2022-06-21 10:34:12 +08:00
Yewen Zhou d068370b85
[Fix] fix #1067: Add torchserve DockerFile and fix bugs (#1073) 2022-06-15 15:58:40 +08:00
Tong Gao b1ab4c7c33
[Fix] Restrict the minimum version of OpenCV to avoid potential vulnerabity (#1065) 2022-06-13 23:36:33 +08:00
Max Bachmann 7c5c784a94
[Enhancement] Simplify normalized edit distance calculation (#1060)
* simplify normalized edit distance calculation

* update rapidfuzz minimum version
2022-06-10 10:16:17 +08:00
Tong Gao d3f65aaacf
[Enhancement] Add mim to extras_requrie to setup.py, update mminstall… (#1062)
* [Enhancement] Add mim to extras_requrie to setup.py, update mminstall.txt

* update
2022-06-09 15:09:16 +08:00
Tong Gao 12558969ee
[Fix] Relax OpenCV requirement (#1061)
* update opencv req

* fix
2022-06-09 14:59:12 +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
Abdelrahman Ahmad 9d7818b564
[Enhancement] Add ABINet_Vision api (#1041)
* add ABINet_Vision api

* revert change

Co-authored-by: gaotongxiao <gaotongxiao@gmail.com>
2022-06-09 11:47:09 +08:00
Tong Gao 376fe05e6c
[Docs] Update readme according to the guideline (#1047)
* [Docs] Update readme according to the guideline

* fix

* fix cn links
2022-06-01 10:24:07 +08:00
Qing Jiang 0c060099e1
[Fix] Fix config name of MASTER in ocr.py (#1044)
* loss

* fix

* 'fix'

* [update] full fix
2022-05-28 20:47:00 +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
tpoisonooo 426995747b
[Docs] Fix typo (#1024)
* Update README.md

* Update configs/textdet/panet/README.md

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

* Update configs/textdet/panet/README.md

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

Co-authored-by: Tong Gao <gaotongxiao@gmail.com>
2022-05-24 23:38:26 +08:00
Qing Jiang 86879c6834
[Fix] Fix a typo problem in MASTER (#1031)
* loss

* fix

* 'fix'
2022-05-23 23:33:13 +08:00
Xinyu Wang 13986f497d
[Feature] Add ArT (#1006)
* add art

* fix typo
2022-05-17 23:59:15 +08:00
garvan2021 d9bb3d6359
[Fix] inplace operator "+=" will cause RuntimeError when model backward (#1018)
* correct meta key

* fix test metakey

* inplace operator will cause RuntimeError when model backward

* replace inplace operator in case future bug
2022-05-17 23:52:39 +08:00
Tong Gao 3059c97dc5
[Docs] Configure Myst-parser to parse anchor tag (#1012) 2022-05-12 22:49:55 +08:00
Tong Gao 08eecb9256
[Fix] Remove confusing img_scales in pipelines (#1007) 2022-05-10 12:52:45 +08:00
Xinyu Wang 9cfa29f862
[Docs] Fix typos (#1001) 2022-05-06 17:15:36 +08:00
Tong Gao 0329ff9328
[Fix] Remove unnecessary requirements (#1000) 2022-05-06 17:14:39 +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
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