Proyek
Lihat di GitHub
Sierkinhane/CRNN_Chinese_Characters_Rec
Tentang
(CRNN) Pengenalan karakter Tionghoa.
AI dan pembelajaran mesinPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- -1
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliCharacters Recognition
A Chinese characters recognition repository based on convolutional recurrent networks. (Below please scan the QR code to join the wechat group.)
Performance
Recognize characters in pictures
Dev Environments
- WIN 10 or Ubuntu 16.04
- PyTorch 1.2.0 (may fix ctc loss) with cuda 10.0 🔥
- yaml
- easydict
- tensorboardX
Data
Synthetic Chinese String Dataset
- Download the dataset
- Edit lib/config/360CC_config.yaml DATA:ROOT to you image path
DATASET:
ROOT: 'to/your/images/path'
Download the labels (password: eaqb)
Put char_std_5990.txt in lib/dataset/txt/
And put train.txt and test.txt in lib/dataset/txt/
eg. test.txt
20456343_4045240981.jpg 89 201 241 178 19 94 19 22 26 656
20457281_3395886438.jpg 120 1061 2 376 78 249 272 272 120 1061
...
Or your own data
- Edit lib/config/OWN_config.yaml DATA:ROOT to you image path
DATASET:
ROOT: 'to/your/images/path'
And put your train_own.txt and test_own.txt in lib/dataset/txt/
eg. test_own.txt
20456343_4045240981.jpg 你好啊!祖国!
20457281_3395886438.jpg 晚安啊!世界!
...
note: fixed-length training is supported. yet you can modify dataloader to support random length training.
Train
[run] python train.py --cfg lib/config/360CC_config.yaml
or [run] python train.py --cfg lib/config/OWN_config.yaml
#### loss curve
```angular2html
[run] cd output/360CC/crnn/xxxx-xx-xx-xx-xx/
[run] tensorboard --logdir log
loss overview(first epoch)
Demo
[run] python demo.py --image_path images/test.png --checkpoint output/checkpoints/mixed_second_finetune_acc_97P7.pth
References
Jelajahi proyek terkait
Memuat…