Giter Site home page Giter Site logo

tflite_python's Introduction

Steps :

Download https://github.com/anirbanchowdhury/tflite_python/archive/refs/heads/master.zip
Unzip into a directory of choice 
cd <unzipped folder>
pip install -r requirements.txt 
python3 tflite1.py

If the installation is successful, this will have the following message (probability, seconds might vary sligtly in the output ):

Model Loaded Successfully.
Will classify images from  ./test/
classifying test/test.jpg
This is a  great white shark , classified with Accuracy : 99.22 %. in  0.06 seconds
classifying test/test.old.jpg
This is a  Egyptian cat , classified with Accuracy : 71.48 %. in  0.056 seconds
classifying test/Screenshot 2023-06-02 at 4.31.51 PM.png
This is a  volcano , classified with Accuracy : 98.44 %. in  0.049 seconds

Note : For Python 3.9.x , tflite 2.7.0 (and for earlier versions, we have to downgrade to 2.5.0

tflite_python's People

Contributors

an1rbanchowdhury avatar anirbanchowdhury avatar elsiefore avatar shingkid 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.