Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to connect to the Tensorflow master #325

Open
honey-ai opened this issue Jan 2, 2019 · 2 comments
Open

Failed to connect to the Tensorflow master #325

honey-ai opened this issue Jan 2, 2019 · 2 comments

Comments

@honey-ai
Copy link

honey-ai commented Jan 2, 2019

I have been trying to run run_classifier training on a TPU but I get this error.

INFO:tensorflow:Querying Tensorflow master for TPU system metadata.
2019-01-02 11:35:33.211174: W tensorflow/core/distributed_runtime/rpc/grpc_session.cc:349] GrpcSession::ListDevices will initialize the session with an empty graph and other defaults because the session has not yet been created.
WARNING:tensorflow:Failed to connect to the Tensorflow master. The TPU worker may not be ready (still scheduling) or the Tensorflow master address is incorrect:

@mlucy
Copy link

mlucy commented Jan 29, 2019

I had the same problem when trying to run the code locally. When I used ctpu up and downloaded the code onto the VM it spun up for me, though, it worked fine.

@danyaljj
Copy link

danyaljj commented Feb 5, 2020

I had the same problem when trying to run the code locally. When I used ctpu up and downloaded the code onto the VM it spun up for me, though, it worked fine.

To clarify: your script worked on a VM, but not on your own machine? Sounds more like a hack than a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants