tensorflow / cloud

The TensorFlow Cloud repository provides APIs that will allow to easily go from debugging and training your Keras and TensorFlow code in a local environment to distributed training in the cloud.
https://github.com/tensorflow/cloud
Apache License 2.0
377 stars 90 forks source link

Docker error while running setup #109

Open javirk opened 4 years ago

javirk commented 4 years ago

Hi, I have followed the "High level overview" steps on the readme to train the models on GCP. I have created both mnist_example.py and scale_mnist.py and followed all the setup instructions. However, when I run python scale_mnist.py, I encounter the following error:

docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'El sistema no puede encontrar el archivo especificado.'), which translated into English says that it cannot find a file. I am using a Cloud Storage bucket in Europe-west1

My configuration:

I have also tried on macOS Catalina with the same result.

Let me know if you need any further information. Thank you!

pavithrasv commented 4 years ago

Thank you for the issue @javirk . Can you provide some information about your environment and parameters you are passing to run API?

javirk commented 4 years ago

Of course. These are all the packages I have installed in my environment:

absl-py 0.9.0
astunparse 1.6.3
attrs 19.3.0
ca-certificates 2020.6.24
cachetools 4.1.1
certifi 2020.6.20
cffi 1.14.1
chardet 3.0.4
cycler 0.10.0
decorator 4.4.2
dill 0.3.2
docker 4.2.2
future 0.18.2
gast 0.3.3
google-api-core 1.22.0
google-api-python-client 1.10.0
google-auth 1.18.0
google-auth-httplib2 0.0.4
google-auth-oauthlib 0.4.1
google-cloud-core 1.4.0
google-cloud-storage 1.30.0
google-crc32c 0.1.0
google-pasta 0.2.0
google-resumable-media 0.7.0
googleapis-common-protos 1.52.0
grpcio 1.30.0
h5py 2.10.0
httplib2 0.18.1
idna 2.1
imageio 2.9.0
importlib-metadata 1.7.0
keras-preprocessing 1.1.2
kiwisolver 1.2.0
markdown 3.2.2
matplotlib 3.2.2
networkx 2.4
numpy 1.18.5
oauthlib 3.1.0
openssl 1.1.1g
opt-einsum 3.2.1
pillow 7.2.0
pip 20.1.1
promise 2.3
protobuf 3.12.2
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.2
pyparsing 2.4.7
pypiwin32 223
python 3.7.7
python-dateutil 2.8.1
pytz 2020.1
pywavelets 1.1.1
pywin32 228
requests 2.24.0
requests-oauthlib 1.3.0
rsa 4.6
scikit-image 0.17.2
scipy 1.4.1
setuptools 47.3.1
six 1.15.0
sqlite 3.32.3
tensorboard 2.3.0
tensorboard-plugin-wit 1.7.0
tensorflow-cloud 0.1.4
tensorflow-datasets 3.2.1
tensorflow-gpu 2.3.0
tensorflow-gpu-estimator 2.3.0
tensorflow-metadata 0.22.2
termcolor 1.1.0
tifffile 2020.7.4
tqdm 4.48.2
uritemplate 3.0.1
urllib3 1.25.9
vc 14.1
vs2015_runtime 14.16.27012
websocket-client 0.57.0
werkzeug 1.0.1
wheel 0.34.2
wincertstore 0.2
wrapt 1.12.1
zipp 3.1.0
zlib 1.2.11

I am running the run API without any parameters, as explained in the README.

import tensorflow_cloud as tfc
tfc.run(entry_point='mnist_example.py')
5shreya commented 1 month ago

Hey I would like to work on this issue. Can you assign me