The nb disconnects continuously. Kindly advise.
Mode - GPU
Can you share a minimal repro notebook with [email protected] noting this issue's URL in the share message?
I'm getting the same errors. Repro Notebook shared with above email.
@SpireFlux your notebook relies on data in your drive. Can you repro with public data?
At any rate I note that your notebook calls tf.Session() without the config options recommended by the GPU example notebook at https://colab.research.google.com/notebooks/gpu.ipynb
You really want something like
# See https://www.tensorflow.org/tutorials/using_gpu#allowing_gpu_memory_growth
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
with tf.Session(config=config) as session:
...
I'm having a similar problem, but not using TensorFlow. I'm trying to use PyTorch, but I run into the problem before I get to the PyTorch part of the notebook, so I don't think it's PyTorch's fault.
I'm trying to run the process() function from here (with tmp_mask lines removed) on files (stage1_train from the same competition) stored on my Google Drive (via google-drive-ocamlfuse so that I have direct filesystem access), and it never succeeds because it takes a few minutes to run, during which time the runtime disconnects (at a different point every time, but so far always before 20%). This is before I get to the point of defining a PyTorch dataset class, let alone instantiating it on the data loaded by process().
Is there some bug in that function that intermittently causes the runtime to crash on a random iteration of the loop, or is the runtime just unreliable? Usually, if I reconnect (sometimes requiring a runtime restart) soon after it disconnects, my libraries are still installed, though I have to reimport them and redefine functions, variables, etc.
no working
always runtime disconnected
Duplicate of #58
@clemente620 https://medium.com/@shivamrawat_756/how-to-prevent-google-colab-from-disconnecting-717b88a128c0 Maybe this could prevent it from disconnecting. But internet should be connected.
Since yesterday my colab notebook is getting continuously disconnected(it's getting connected for 2-3 seconds and then it gets disconnected).
Could you please advice a solution
Most helpful comment
Since yesterday my colab notebook is getting continuously disconnected(it's getting connected for 2-3 seconds and then it gets disconnected).
Could you please advice a solution