Comments (5)
I think this is the first time I've heard about this error. Have you modified the code or perhaps not downloaded everything? Or are you not running the Notebook from the beginning?
You also don't write how this error is connected with the code for the CIFAR10 dataset. These two errors are inside TensorFlow. Please try and debug / make print-statements to find out where in the CIFAR10 code the problem is.
from tensorflow-tutorials.
from tensorflow-tutorials.
You copied the contents of the Notebook into a .py file? Did the Notebook run OK? Perhaps you made a mistake when copying the code?
The two error messages are inside TensorFlow, not in my code.
"Shapes (2, 1) and () are incompatible" tells you that two tensors have the wrong shapes. The error appears to be a call to concat
but I did a search and I don't seem to use concat
anywhere in my code.
Please try and debug this yourself, there is really nothing I can do to help. When you find the solution then please write it here in case others have the same problem in the future.
from tensorflow-tutorials.
I had the same issue running the 06_CIFAR-10 tutorial, and I fix it updating my tensorflow version to 1.3.0 and now it works
python -m pip uninstall tensorflow
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp35-cp35m-win_amd64.whl
Also, I had another issue with prettytensor '0.7.4'
TypeError: zeros_initializer() missing 1 required positional argument: 'shape'
and I fix it changing :
tf.zeros_initializer() to tf.constant_initializer(0.0)
In the files: pretty_tensor_image_methods.py, pretty_tensor_loss_methods.py, pretty_tensor_methods.py and recurrent_networks.py located in the folder C:\Python35\Lib\site-packages\prettytensor
Hope it works for you
from tensorflow-tutorials.
from tensorflow-tutorials.
Related Issues (20)
- when i was trying to run this code in pycharm it unables to download inception package and it results to an error ImportError: No module named 'inception' so please help me to overcome on this issue HOT 1
- Tutorial 23: Memory Error HOT 1
- ValueError: Unknown loss function:sparse_cross_entropy HOT 2
- Tutorial 21 Already Exists Error HOT 1
- 23_Time-Series-Prediction.ipynb - Predicting future values when have no test data? HOT 2
- Deprecated scipy libraries HOT 3
- acc = sess.run(accuracy, feed_dict={x: mnist.test.images, y: mnist.test.Lables}) AttributeError: 'DataSet' object has no attribute 'Lables' HOT 2
- using Elmo embedding layer in image captioning model ( Tutorial #22) HOT 1
- Image Caption works poorly HOT 6
- Tutorial 20 ValueError in Keras HOT 3
- TensorFlow 2.0 HOT 3
- Now how to forecast the future without knowing the known values? HOT 2
- AttributeError: module 'tensorflow' has no attribute 'gfile' in style transfer notebook HOT 3
- model.prediction does not match model.evaluation loss error HOT 3
- Tutorial 23 Error: Supplying multiple axes to axis is no longer supported. HOT 1
- ValueError: could not convert string to float: '28-12-2017'. I am training the time series prediction model on stock market data set and faced this error HOT 1
- issue when implementing image caption model HOT 4
- module 'tensorflow.python.ops.variable_scope' has no attribute '_VARSCOPE_KEY' HOT 2
- Korean translation HOT 2
- Tutorial 22_Image_Captioning.ipynb is not working in Colab because of disk space limit 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-tutorials.