GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pythoncode-tutorials/machine-learning/image-classifier at master · eima1995/pythoncode-tutorials

Expand file tree

/

image-classifier

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

image-classifier

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
test.py
test.py
 
 
train.py
train.py
 
 

README.md

How to Make an Image Classifier in Python using TensorFlow and Keras

To run this:

  • pip3 install -r requirements.txt
  • First, you need to train the model using python train.py
  • Edit the code in test.py for you optimal model weights in results folder ( currently does not because you need to train first ) and run:
    python test.py
    
    Output:
    10000/10000 [==============================] - 3s 331us/step
    Test accuracy: 81.17999999999999 %
    frog
    
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.