Skip to content

xzcxzcxzc333/Proj-Mnist-Python-Numpy-PyQt

 
 

Repository files navigation

Python+Numpy+PyQt implement CNN to recognize handwritten number

Overview

2022-11-28_17-29

For more presentations please visit: https://www.bilibili.com/video/BV127411b7hK

How to run

Prerequisites

  • Python3 (Tested in Python 3.8.10)
  • Pip
  • Venv

Run main GUI

  1. Create a Python virtual environment (Optional)
$ python3 -m venv venv
$ source venv/bin/activate
  1. Install the required packages
$ pip install -r requirements.txt
  1. Run the main GUI
$ python ./mnist_cnn_gui_main.py

You can modify the network structure in mnist_cnn_gui_main.py file, and two networks are provided by default.

Train model

Train Simple CNN:

$ python ./train_convnet.py

Train Deep CNN:

$ python ./train_deepnet.py

Acknowledgement

  • 《深度学习入门-基于Python的理论与实现》

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%