You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Reimplementation:Character Region Awareness for Text Detection Reimplementation based on Pytorch
7
6
@@ -19,83 +18,6 @@ The full paper is available at: https://arxiv.org/pdf/1904.01941.pdf
19
18
5、4 nvidia GPUs(we use 4 nvidia titanX)
20
19
21
20
22
-
## pre-trained model:
23
-
`NOTE: There are old pre-trained models, I will upload the new results pre-trained models' link.`
24
-
Syndata:[Syndata for baidu drive](https://pan.baidu.com/s/1MaznjE79JNS9Ld48ZtRefg) || [Syndata for google drive](https://drive.google.com/file/d/1FvqfBMZQJeZXGfZLl-840YXoeYK8CNwk/view?usp=sharing)
25
-
Syndata+IC15:[Syndata+IC15 for baidu drive](https://pan.baidu.com/s/19lJRM6YWZXVkZ_aytsYSiQ) || [Syndata+IC15 for google
Syndata+IC13+IC17:[Syndata+IC13+IC17 for baidu drive](https://pan.baidu.com/s/1PTTzbM9XG0pNe5i-uL6Aag)|| [Syndata+IC13+IC17 for google drive](https://drive.google.com/open?id=1SkJEfaGYIq-eFxfzFVZb-cGdGWR8lPSi)
28
-
29
-
30
-
## Training
31
-
`Note: When you train the IC15-Data or MLT-Data, please see the annotation in data_loader.py line 92 and line 108-112.`
32
-
33
-
### Train for Syndata
34
-
- download the Syndata(I will give the link)
35
-
- change the path in basernet/vgg16_bn.py file:
36
-
>` (/data/CRAFT-pytorch/vgg16_bn-6c64b313.pth -> /your_path/vgg16_bn-6c64b313.pth).You can download the model here.`[baidu](https://pan.baidu.com/s/1_h5qdwYQAToDi_BB5Eg3vg)||[google](https://drive.google.com/open?id=1ZtvGpFQrbmEisB_GhmZb8UQOtvqY_-tW)
### Train for IC15 data based on Syndata pre-trained model
42
-
- download the IC15 data, rename the image file and the gt file for ch4_training_images and ch4_training_localization_transcription_gt,respectively.
43
-
- change the path in basernet/vgg16_bn.py file:
44
-
> `(/data/CRAFT-pytorch/vgg16_bn-6c64b313.pth -> /your_path/vgg16_bn-6c64b313.pth).You can download the model here.`[baidu](https://pan.baidu.com/s/1_h5qdwYQAToDi_BB5Eg3vg)||[google](https://drive.google.com/open?id=1ZtvGpFQrbmEisB_GhmZb8UQOtvqY_-tW)
### Train for IC13+17 data based on Syndata pre-trained model
52
-
53
-
- download the MLT data, rename the image file and the gt file,respectively.
54
-
- change the path in basernet/vgg16_bn.py file:
55
-
> `(/data/CRAFT-pytorch/vgg16_bn-6c64b313.pth -> /your_path/vgg16_bn-6c64b313.pth).You can download the model here.`[baidu](https://pan.baidu.com/s/1_h5qdwYQAToDi_BB5Eg3vg)||[google](https://drive.google.com/open?id=1ZtvGpFQrbmEisB_GhmZb8UQOtvqY_-tW)
56
-
- change the path in trainic-MLT_data.py file:
57
-
>` (1、/data/CRAFT-pytorch/SynthText -> /your_path/SynthText 2、savemodel path-> your savemodel path)`
### If you want to train for weak supervised use our Syndate pre-trained model:
63
-
1、You should first download the pre_trained model trained in the Syndata [baidu](https://pan.baidu.com/s/1MaznjE79JNS9Ld48ZtRefg)||[google](https://drive.google.com/file/d/1FvqfBMZQJeZXGfZLl-840YXoeYK8CNwk/view?usp=sharing).
64
-
2、change the data path and pre-trained model path.
65
-
3、run `python trainic15data.py`
66
-
67
-
68
-
**This code supprts for Syndata and icdar2015, and we will release the training code for IC13 and IC17 as soon as possible.**
`We will release training code as soon as possible, and we have not yet reached the results given in the author's paper. Any pull requests or issues are welcome. We also hope that you could give us some advice for the project.`
94
-
95
-
# Acknowledgement
96
-
Thanks for Youngmin Baek, Bado Lee, Dongyoon Han, Sangdoo Yun, Hwalsuk Lee excellent work and [code](https://github.com/clovaai/CRAFT-pytorch) for test. In this repo, we use the author repo's basenet and test code.
97
-
98
-
# License
99
-
For commercial use, please contact us.
100
-
21
+
# to do list
22
+
Release strong supervision training part in early December
0 commit comments