Skip to content

Commit 1a379f2

Browse files
authored
[Fix] Clear up some unused scripts (#1798)
1 parent d0dc902 commit 1a379f2

File tree

15 files changed

+0
-2613
lines changed

15 files changed

+0
-2613
lines changed

docs/en/user_guides/data_prepare/det.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ This page is a manual preparation guide for datasets not yet supported by [Datas
99
| Dataset | Images | | Annotation Files | | |
1010
| :---------------: | :------------------------------------------------------: | :------------------------------------------------: | :-----------------------------------------------------------------: | :-----: | :-: |
1111
| | | training | validation | testing | |
12-
| CTW1500 | [homepage](https://github.com/Yuliang-Liu/Curve-Text-Detector) | - | - | - | |
1312
| ICDAR2011 | [homepage](https://rrc.cvc.uab.es/?ch=1) | - | - | | |
1413
| ICDAR2017 | [homepage](https://rrc.cvc.uab.es/?ch=8&com=downloads) | [instances_training.json](https://download.openmmlab.com/mmocr/data/icdar2017/instances_training.json) | [instances_val.json](https://download.openmmlab.com/mmocr/data/icdar2017/instances_val.json) | - | |
15-
| Synthtext | [homepage](https://www.robots.ox.ac.uk/~vgg/data/scenetext/) | instances_training.lmdb ([data.mdb](https://download.openmmlab.com/mmocr/data/synthtext/instances_training.lmdb/data.mdb), [lock.mdb](https://download.openmmlab.com/mmocr/data/synthtext/instances_training.lmdb/lock.mdb)) | - | - | |
1614
| CurvedSynText150k | [homepage](https://github.com/aim-uofa/AdelaiDet/blob/master/datasets/README.md) \| [Part1](https://drive.google.com/file/d/1OSJ-zId2h3t_-I7g_wUkrK-VqQy153Kj/view?usp=sharing) \| [Part2](https://drive.google.com/file/d/1EzkcOlIgEp5wmEubvHb7-J5EImHExYgY/view?usp=sharing) | [instances_training.json](https://download.openmmlab.com/mmocr/data/curvedsyntext/instances_training.json) | - | - | |
1715
| DeText | [homepage](https://rrc.cvc.uab.es/?ch=9) | - | - | - | |
1816
| Lecture Video DB | [homepage](https://cvit.iiit.ac.in/research/projects/cvit-projects/lecturevideodb) | - | - | - | |
@@ -62,47 +60,6 @@ backend used in MMCV would read them and apply the rotation on the images. Howe
6260
inconsistency results in false examples in the training set. Therefore, users should use `dict(type='LoadImageFromFile', color_type='color_ignore_orientation')` in pipelines to change MMCV's default loading behaviour. (see [DBNet's pipeline config](https://github.com/open-mmlab/mmocr/blob/main/configs/_base_/det_pipelines/dbnet_pipeline.py) for example)
6361
```
6462

65-
## CTW1500
66-
67-
- Step0: Read [Important Note](#important-note)
68-
69-
- Step1: Download `train_images.zip`, `test_images.zip`, `train_labels.zip`, `test_labels.zip` from [github](https://github.com/Yuliang-Liu/Curve-Text-Detector)
70-
71-
```bash
72-
mkdir ctw1500 && cd ctw1500
73-
mkdir imgs && mkdir annotations
74-
75-
# For annotations
76-
cd annotations
77-
wget -O train_labels.zip https://universityofadelaide.box.com/shared/static/jikuazluzyj4lq6umzei7m2ppmt3afyw.zip
78-
wget -O test_labels.zip https://cloudstor.aarnet.edu.au/plus/s/uoeFl0pCN9BOCN5/download
79-
unzip train_labels.zip && mv ctw1500_train_labels training
80-
unzip test_labels.zip -d test
81-
cd ..
82-
# For images
83-
cd imgs
84-
wget -O train_images.zip https://universityofadelaide.box.com/shared/static/py5uwlfyyytbb2pxzq9czvu6fuqbjdh8.zip
85-
wget -O test_images.zip https://universityofadelaide.box.com/shared/static/t4w48ofnqkdw7jyc4t11nsukoeqk9c3d.zip
86-
unzip train_images.zip && mv train_images training
87-
unzip test_images.zip && mv test_images test
88-
```
89-
90-
- Step2: Generate `instances_training.json` and `instances_test.json` with following command:
91-
92-
```bash
93-
python tools/dataset_converters/textdet/ctw1500_converter.py /path/to/ctw1500 -o /path/to/ctw1500 --split-list training test
94-
```
95-
96-
- The resulting directory structure looks like the following:
97-
98-
```text
99-
├── ctw1500
100-
│   ├── imgs
101-
│   ├── annotations
102-
│   ├── instances_training.json
103-
│   └── instances_val.json
104-
```
105-
10663
## ICDAR 2011 (Born-Digital Images)
10764

10865
- Step1: Download `Challenge1_Training_Task12_Images.zip`, `Challenge1_Training_Task1_GT.zip`, `Challenge1_Test_Task12_Images.zip`, and `Challenge1_Test_Task1_GT.zip` from [homepage](https://rrc.cvc.uab.es/?ch=1&com=downloads) `Task 1.1: Text Localization (2013 edition)`.
@@ -156,22 +113,6 @@ inconsistency results in false examples in the training set. Therefore, users sh
156113
│   └── instances_val.json
157114
```
158115

159-
## SynthText
160-
161-
- Step1: Download SynthText.zip from \[homepage\](<https://www.robots.ox.ac.uk/~vgg/data/scenetext/> and extract its content to `synthtext/img`.
162-
163-
- Step2: Download [data.mdb](https://download.openmmlab.com/mmocr/data/synthtext/instances_training.lmdb/data.mdb) and [lock.mdb](https://download.openmmlab.com/mmocr/data/synthtext/instances_training.lmdb/lock.mdb) to `synthtext/instances_training.lmdb/`.
164-
165-
- The resulting directory structure looks like the following:
166-
167-
```text
168-
├── synthtext
169-
│   ├── imgs
170-
│   └── instances_training.lmdb
171-
│   ├── data.mdb
172-
│   └── lock.mdb
173-
```
174-
175116
## CurvedSynText150k
176117

177118
- Step1: Download [syntext1.zip](https://drive.google.com/file/d/1OSJ-zId2h3t_-I7g_wUkrK-VqQy153Kj/view?usp=sharing) and [syntext2.zip](https://drive.google.com/file/d/1EzkcOlIgEp5wmEubvHb7-J5EImHExYgY/view?usp=sharing) to `CurvedSynText150k/`.

docs/en/user_guides/data_prepare/recog.md

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ This page is a manual preparation guide for datasets not yet supported by [Datas
1111
| | | training | test |
1212
| coco_text | [homepage](https://rrc.cvc.uab.es/?ch=5&com=downloads) | [train_labels.json](#TODO) | - |
1313
| ICDAR2011 | [homepage](https://rrc.cvc.uab.es/?ch=1) | - | - |
14-
| MJSynth (Syn90k) | [homepage](https://www.robots.ox.ac.uk/~vgg/data/text/) | [subset_train_labels.json](https://download.openmmlab.com/mmocr/data/1.x/recog/Syn90k/subset_train_labels.json) \| [train_labels.json](https://download.openmmlab.com/mmocr/data/1.x/recog/Syn90k/train_labels.json) | - |
1514
| SynthAdd | [SynthText_Add.zip](https://pan.baidu.com/s/1uV0LtoNmcxbO-0YA7Ch4dg) (code:627x) | [train_labels.json](https://download.openmmlab.com/mmocr/data/1.x/recog/synthtext_add/train_labels.json) | - |
1615
| OpenVINO | [Open Images](https://github.com/cvdfoundation/open-images-dataset) | [annotations](https://storage.openvinotoolkit.org/repositories/openvino_training_extensions/datasets/open_images_v5_text) | [annotations](https://storage.openvinotoolkit.org/repositories/openvino_training_extensions/datasets/open_images_v5_text) |
1716
| DeText | [homepage](https://rrc.cvc.uab.es/?ch=9) | - | - |
@@ -110,44 +109,6 @@ For users in China, these datasets can also be downloaded from [OpenDataLab](htt
110109
│ └── train_words
111110
```
112111

113-
## MJSynth (Syn90k)
114-
115-
- Step1: Download `mjsynth.tar.gz` from [homepage](https://www.robots.ox.ac.uk/~vgg/data/text/)
116-
- Step2: Download [train_labels.json](https://download.openmmlab.com/mmocr/data/1.x/recog/Syn90k/train_labels.json) (8,919,273 annotations) and [subset_train_labels.json](https://download.openmmlab.com/mmocr/data/1.x/recog/Syn90k/subset_train_labels.json) (2,400,000 randomly sampled annotations).
117-
118-
```{note}
119-
Please make sure you're using the right annotation to train the model by checking its dataset specs in Model Zoo.
120-
```
121-
122-
- Step3:
123-
124-
```bash
125-
mkdir Syn90k && cd Syn90k
126-
127-
mv /path/to/mjsynth.tar.gz .
128-
129-
tar -xzf mjsynth.tar.gz
130-
131-
mv /path/to/subset_train_labels.json .
132-
mv /path/to/train_labels.json .
133-
134-
# create soft link
135-
cd /path/to/mmocr/data/recog/
136-
137-
ln -s /path/to/Syn90k Syn90k
138-
139-
```
140-
141-
- After running the above codes, the directory structure
142-
should be as follows:
143-
144-
```text
145-
├── Syn90k
146-
│ ├── subset_train_labels.json
147-
│ ├── train_labels.json
148-
│ └── mnt
149-
```
150-
151112
## SynthAdd
152113

153114
- Step1: Download `SynthText_Add.zip` from [SynthAdd](https://pan.baidu.com/s/1uV0LtoNmcxbO-0YA7Ch4dg) (code:627x))

docs/zh_cn/user_guides/data_prepare/det.md

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)