Comments (4)
Thanks @yeephycho ,
I realized I had to change line of the code to
with tf.gfile.FastGFile(filename, 'rb') as f:
image_data = f.read()
and it works now.
from tensorflow_input_image_by_tfrecord.
Hi @isalirezag .
This repo. was created a long time ago, after a few times iteration of tensorflow, I am not sure whether it still can work as months earlier.
I noticed that the last line of the terminal, the program has already write 302 images into tfrecord, so my suggestion is try to validate whether the tfrecord file contains the right images and metadata.
With regards!
from tensorflow_input_image_by_tfrecord.
it still doesnt work for me. Still showing the same error please help
from tensorflow_input_image_by_tfrecord.
The best method of reading/accessing that data is by below snippet
pd.read_csv('data.csv', encoding='latin1')
in your case try to add encoding='latin1' that's it
from tensorflow_input_image_by_tfrecord.
Related Issues (11)
- How to create .tfrecord -file? HOT 1
- read_tfrecord_data.py HOT 1
- Need the code to predict an image for the model trained using flower_train_cnn.py
- Bug! HOT 3
- Question regarding the HOT 1
- read the tfrecord without the graph HOT 1
- build_image_data.py error. Doesnt create .tfrecord files HOT 1
- Which version of Python and Tensorflow did you use? HOT 4
- How exactly do I create the labels? HOT 1
- 知识就是力量 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow_input_image_by_tfrecord.