Files
hand-writing-recognition/README.md
2019-08-25 19:07:44 +08:00

18 lines
581 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# hand-writing-recognition
基于pytorch卷积神经网络的中文手写汉字识别使用HWDB数据库
![hwdb](hwdb.jpg)
## Dependence
* PIL
* numpy
* torch
* torchvision
* tensorboardX(for visulizztion)
## Usage
1. Download HWDB dataset and unzip to `data` folder
2. run `python process_gnt.py` to generate img from gnt fiel. Due to the huge dataset (897758+223991 images), it may take a lot of time. I suggest to put the data folder out of project or your pycharm will get slow.
3. run `python hwdb.py` to visualize the image.
4. run `python train.py` to start trianing.