This is the code for the blog post 'How to Build a Simple Image Recognition System Using TensorFlow'.
- Softmax Classifier
- Fully Connected 2-Layer Neural Network
- (upcoming: Convolutional Neural Network)
Simple Image Classification Models for the CIFAR-10 dataset using TensorFlow
License: MIT License
This is the code for the blog post 'How to Build a Simple Image Recognition System Using TensorFlow'.
I am trying to convert the python code to c++ for training of graph but am facing difficulties as I am unable to find all the functions of python tensorflow in C++ .
Can I Please know if there exists any source code to train the graph in C++
Hi,
This tutorial is amazing for a beginner like me.
I have a question about the prediction.
Let's say I have 3 section of data. (I'm not using CIFAR data)
I obtained a training score and test score using your scripts. Now I want to deploy the model in the application. The tensorflow don't have a straightforward syntax for prediction.
It would be helpful if you could add how to make a prediction after restoring the model?
Thanks
Pratheeban
if you run the two_layer_fc.py in python 3.5 it will throw an error as
Traceback (most recent call last):
File "D:/workspace/python_dir/tf-image-recognition/run_fc_model.py", line 66, in
batch = next(batches)
File "D:\workspace\python_dir\tf-image-recognition\data_helpers.py", line 71, in gen_batch
index = len(data)
TypeError: len() of unsized object
Please ignore the line number coz I've changed the code a little bit.
And the error says the object created by zip() will no longer be 'Sized' so len() could not read its actual length.
So I modified a little at
batches = data_helpers.gen_batch(list(zipped_data), FLAGS.batch_size, FLAGS.max_steps)
That will do the trick.
Really liked your blog, I've read about both of the How to Build a Simple Image Recognition System with TensorFlow series, those have been of great help.
Hope to see more.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.