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 — GitHub - asabovici/TensorPy: Image Classification with TensorFlow made easy!

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

95 Commits
95 Commits

Folders and files

NameName
Last commit message
Last commit date
examples
examples
 
 
help_docs
help_docs
 
 
tensorpy
tensorpy
 
 
third_party
third_party
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

TensorPy

pypi GitHub stars Python version MIT License Join the chat at https://gitter.im/TensorPy/Lobby

Image Classification with TensorFlow made easy!

TensorPy Tutorial

(The 2-Minute Video Demo)

You can use TensorPy to classify images by simply passing a URL on the command line, or by using TensorPy in your Python programs. TensorFlow does all the image-recognition work. TensorPy also simplifies TensorFlow installation by automating several setup steps into a single script (See install.sh for details).

(Read how_tensorpy_works for a detailed explanation of how TensorPy works.)

Setup Steps for Mac & Ubuntu/Linux

(Windows & Docker users: See the Docker ReadMe for running on a Docker machine. Windows requires Docker to run TensorFlow.)

Step 1: Create and activate a virtual environment named "tensorpy"

If you're not sure how to create a virtual environment, follow these instructions to learn how.

Step 2: Clone the TensorPy repo from GitHub

git clone https://github.com/TensorPy/TensorPy.git
cd TensorPy

Step 3: Install TensorPy, TensorFlow, and ImageNet/Inception

The install.sh script installs everything you need:

./install.sh

Step 4: Run the examples

Classify a single image from a URL:

classify "http://cdn2.hubspot.net/hubfs/100006/happy_animal.jpg"

Classify all images on a web page:

classify "https://github.com/TensorPy/TensorPy/tree/master/examples/images"

Classify a single image from a URL from within a Python program: (See test_python_classify.py for details.)

cd examples
python test_python_classify.py

Future Work:

Eventually, the headline will change from "Image Classification with TensorFlow made easy!" to "Machine Learning with TensorFlow made easy!" once I expand on TensorPy to make other features of TensorFlow easier too. Stay tuned for updates!

About

Image Classification with TensorFlow made easy!

tensorpy.com

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

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.