Run TensorFlow remotely


I am new to TensorFlow, Linux, and ML. I am trying to use a GPU in another system in my lab for training my model. I have connected to the system using SSH.

Now what I am stuck on is how should I write the python code? One thing I can do is run python in the terminal window where I can see the username of the other machine I am connected to but it takes a lot of efforts and is not an efficient way of doing it.

What I want to do is write the python code in a file(on my machine) and run it on the machine possessing GPU. Can you describe to me how I should do that?

P.S: I understand it is a very basic doubt but I would appreciate if you can help me with it

8/3/2017 8:45:03 AM

Accepted Answer

Sorry to plug my own site, but I described how to do this with Pycharm in a blogpost.

Really hope this helps you out! If you have any more questions, feel free to ask!

8/3/2017 9:04:46 AM

Tensorflow has a Distributed Tensorflow tutorial out now. Since you can connect over SSH, this is an option.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow