Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google colaboratory not refreshing drive content?

I'm following this tutorial: https://medium.com/deep-learning-turkey/google-colab-free-gpu-tutorial-e113627b9f5d It shows content pulled via Google jupyter notebook into G Drive. The tutorial shows folders/files in the G Drive folders. Some of the files/folders I've pulled into G Drive show up in my G Drive folder, but not all.

I've noticed that G Drive UI does not reflect/refresh to show new Drive content imported via notebook.

Is this a bug or feature?

notebook shows drive content but drive does not

like image 548
pleabargain Avatar asked Mar 18 '18 07:03

pleabargain


People also ask

Why my Google colab is not working?

an internet connection problem: so check your internet connection first, or try opening other sites. the notebook you are trying to open is corrupted: try to open a new notebook from colab.


1 Answers

Run this on the notebook:

!google-drive-ocamlfuse -cc

This will clear the cache and refresh the files. Every time you change a file in drive folder, you should call this command and the mounted drive would refresh with the changes.

like image 68
Kartal Avatar answered Sep 20 '22 01:09

Kartal