Giter Site home page Giter Site logo

cuicaihao / mnist_tf_gui Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 23.33 MB

Demonstrate training, testing, and retraining ML/DL models with TensorFlow and Keras with an extra GUI by Qt5

License: MIT License

Python 100.00%
mnist-classification keras-tensorflow retraining gui python3 qt5

mnist_tf_gui's Introduction

MNIST_TF_GUI README File

Author: Caihao Cui Location: Melbourne, VIC, AU.

Description: This repository demonstrates one python program including training, testing, and retraining ML/DL models with TensorFlow and Keras with an extra GUI by Qt5.

Dependencies: install Anaconda python 3, TensorFlow, Keras and all the package related. TF2.0 works but with few warninig.

Train the model

Use the Train_MNIST_Model.py to build the model, model will be saved at ./models/xxx.xxx.xxx.h5, the training histroy (acc, loss) will be saved as history.pickle.

Test the model

Use the Test_MNIST_Model.py to test the model and compare the training and testing accuracy.

Retrain the model

Use the Retrain_MNIST_Model.py to load the trained model and retrain it with different optimization methods.

Play with GUI

Run GUI.py or MNIST_Window.py to play with the interactive desktop application.

Sample images:

You can change the details by editing the class of MNIST_Window

Input Check 2

Sample Images: Test 0 Test 1 Test 2 Test 3 Test 4 Test 5 Test 6 Test 7 Test 8 Test 9

Reference

This repository is inspried by the CSDN Blog: https://blog.csdn.net/u011389706/article/details/81460820.

mnist_tf_gui's People

Contributors

cuicaihao avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.