user2757572
user2757572

Reputation: 463

Beginners MNIST sample form Tensorflow 2.0 tutorial

Running "Get started with TensorFlow 2.0 for beginners" from https://www.tensorflow.org/beta/tutorials/quickstart/beginner in Colab https://colab.research.google.com/github/tensorflow/docs/blob/r2.0rc/site/en/r2/tutorials/quickstart/beginner.ipynb works fine and only takes a few seconds. The output generated is:

output in colab

But I would like to run it locally. I extracted the python code from the notebook. When started, the output does not look as intended (problem with backspace?) and the ETA (estimated arrival time) keeps growing and the program does not finish within reasonable time.

console output

Can you please help me out finding what the problem is?

Upvotes: 0

Views: 263

Answers (1)

Rishabh Sahrawat
Rishabh Sahrawat

Reputation: 2507

The tutorial on Colab uses CPU by default, so make sure you are not using GPU there. If not then look at your CPU RAM power, on colab, CPU has 13 GB RAM approx. Here are the specs of colab. The problem is mostly because of the CPU power.

Upvotes: 1

Related Questions