Giter VIP home page Giter VIP logo

Comments (5)

Hvass-Labs avatar Hvass-Labs commented on May 10, 2024

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.

prabirsinha avatar prabirsinha commented on May 10, 2024

from tensorflow-tutorials.

Hvass-Labs avatar Hvass-Labs commented on May 10, 2024

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.

felipeardilac avatar felipeardilac commented on May 10, 2024

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.

prabirsinha avatar prabirsinha commented on May 10, 2024

from tensorflow-tutorials.

Related Issues (20)

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.