Giter Site home page Giter Site logo

Comments (16)

jorgemadridportillo avatar jorgemadridportillo commented on August 23, 2024 1

I have the same error here, using Linux Mint 17.3 and Python3.4.3.

Extracting data/train-images-idx3-ubyte.gz
Extracting data/train-labels-idx1-ubyte.gz
Extracting data/t10k-images-idx3-ubyte.gz
Extracting data/t10k-labels-idx1-ubyte.gz
max test accuracy: 0

from tensorflow-mnist-tutorial.

martin-gorner avatar martin-gorner commented on August 23, 2024

Is your loss NaN ?
Could it be one of the problems described on this page: https://codelabs.developers.google.com/codelabs/cloud-tensorflow-mnist/#7

If you are running one of the samples without any changes, then it is something else.

from tensorflow-mnist-tutorial.

jorgemadridportillo avatar jorgemadridportillo commented on August 23, 2024

No, it is not even displaying the GUI, it seems like it is not even calling the training_step function for me...

from tensorflow-mnist-tutorial.

neoscreenager avatar neoscreenager commented on August 23, 2024

No GUI for me too. Program ends with max test accuracy: 0

from tensorflow-mnist-tutorial.

martin-gorner avatar martin-gorner commented on August 23, 2024

Have you tried upgrading to Python 3.5?
Have you tried updating your matplotlib library (pip3 install --upgrade matplotlib) ?

from tensorflow-mnist-tutorial.

jorgemadridportillo avatar jorgemadridportillo commented on August 23, 2024

Updating to Python 3.5 solved the problem completely!, thanks.

from tensorflow-mnist-tutorial.

martin-gorner avatar martin-gorner commented on August 23, 2024

I'll leave this open for a while to hear from others.
Then I'll fold it into #5

from tensorflow-mnist-tutorial.

neoscreenager avatar neoscreenager commented on August 23, 2024

All is working well after upgrading to python3.5 and pulling the updated code. Thanks :)

Current environment where the updated code is working for me is python 3.5, matplotlib 2.0.0 and tensorflow 1.0.0.

from tensorflow-mnist-tutorial.

val620 avatar val620 commented on August 23, 2024

I have the same problem, and I'm running the program with CentOS 7.3.1611, Python 3.5.1, matplotlib 2.0.0, tensorflow 1.0.0.

from tensorflow-mnist-tutorial.

neoscreenager avatar neoscreenager commented on August 23, 2024

Is your code updated? If not then please update it to latest revision and then try.

from tensorflow-mnist-tutorial.

mehransahandi avatar mehransahandi commented on August 23, 2024

non of updates solved the problem, I just cancelled every GUI parts and then worked well, the only solution worked for me.

from tensorflow-mnist-tutorial.

neoscreenager avatar neoscreenager commented on August 23, 2024

@mehransahandi What is your environment?

from tensorflow-mnist-tutorial.

kakawait avatar kakawait commented on August 23, 2024

Did you try with other graphical engine like TkAgg or Qt5Agg (depends on py-qt5)?

from tensorflow-mnist-tutorial.

val620 avatar val620 commented on August 23, 2024

All code is updated, still doesn't work.
@mehransahandi Can you elaborate?

from tensorflow-mnist-tutorial.

KortVea avatar KortVea commented on August 23, 2024

I have had the same problem: no GUI for displaying graphs, after extracting mnist data, it goes directly to max accuracy = 0, and I've tried upgrading all to the latest( Python 2.7 in virtualenv, 3.6.1 in system with tensorflow...)
I solved it by checking (macOS) /Users/you/.matplotlib/matplotlibrc and make sure the configuration something like below
backend : TkAgg

from tensorflow-mnist-tutorial.

Lobsterrr avatar Lobsterrr commented on August 23, 2024

I have the same problem. tensorflow-1.8.0; python 3.6.3 ; matplotlib-2.2.2.
Still cannot work it out.

from tensorflow-mnist-tutorial.

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.