demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
317 stars 230 forks source link

Simple instructions for non programmers.. #37

Open anki24-curious opened 4 years ago

anki24-curious commented 4 years ago

Hi,i really want to try this but i am not able to understand what to do after the vnc password is generated on collab ..i am a non programmer and simple instructions to make this work will helpful.I am using windows 7 OS..Can you help me ? Thanks in advance.. I understand that you are going through trouble for our sake and i am grateful to you for that :-)

xd003 commented 4 years ago

Just use a ssh client with VNC support to connect I recommend using Mobaxterm

demotomohiro commented 4 years ago

You need to run the ssh command that is displayed by remocolab to make ssh port forward after the vnc password is displayed. I use ssh client that is installed with scoop. After you install ssh client, copy paste the ssh commnd to the command prompt and login using the password that is generated by remocolab. Then, you can use TurboVNC viewer to login to the colab.

123ldk commented 3 years ago

I am also very confused on how it's supposed to work, whenever I try to run it colab gives me a gpu limit notification after a few minutes.

demotomohiro commented 3 years ago

@123ldk That is probably this issue: https://github.com/demotomohiro/remocolab/wiki/Frequently-Asked-Questions#google-colab-disconnected-before-or-right-after-remocolabsetupvnc-done

I tried to run remocolab today but google colab disconnected in a few minutes in both GPU and none-GPU instance. I cannot also run following code for more than 5 minutes:

import time

begin = time.time()
for i in range(30 * 6):
  time.sleep(10)
  print(time.time() - begin)