Skip to content

jerryp-hfut/Handwriting-num-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handwriting-num-recognition

Handwriting number recognizer based on LeNet5(PyTorch)

during the training, I used matplotlib to visualize the changing of the loss:

Training

Run train.py
and if you want to custom training, you can just edit the last row of the file:train(1,10)
The first parameter is pre_epochs, if it's set to zero, the code will start training a new network.If not, the code will use the pre-trained model.
The second parameter is epochs, as the end epoch number.

Utilizing

Run util.py
If you want to know the accuracy of your model, input "evaluate".
If you want to use your own figure pictures, put your pictures under the folder 'input' and then input "predict" in the terminal.

About

Handwriting number recognizer based on LeNet5(PyTorch)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages