thebrianbug / MNIST

Into to Docker and Machine Learning
0 stars 1 forks source link

tensorflow error ? #1

Open ggonzalez2022 opened 1 year ago

ggonzalez2022 commented 1 year ago

File "/home/geddy/Downloads/docker_test/MNIST/mnist_softmax.py", line 27, in from tensorflow.examples.tutorials.mnist import input_data ModuleNotFoundError: No module named 'tensorflow.examples'

thebrianbug commented 1 year ago

I haven't kept this up to date. Not sure how much has changed but I expect a lot over the years. Feel free to update!

Or, the versions could be pinned in the Dockerfile and via requirements.txt. Pretty sure that's the issue here.

thebrianbug commented 1 year ago

Pinning the right version from years ago to this line should fix everything

Dockerfile FROM tensorflow/tensorflow