I only had them there for one day and they are gone already. I have to keep uploading them everyday? Will colab load my local files ? can I point colab to my files on google drive ?
A typical pattern is to mount your Google Drive as a filesystem and store persistent files there.
To do this, run:
from google.colab import drive
drive.mount('/content/gdrive')
For more recipes, see the I/O example notebook.
Does anyone have any more info on this? I also found that files disappear the next day. Is there any way to make them persist?
@nattemple I have also witnessed the same issue, The locally saved files vanishes after running a few code blocks.
@nattemple @DanBrown47 @paulgureghian
Thanks for all the comments.
I have a situation where I am going to share my notebook with someone, but I don't want that person (collaborator) to see my google drive file.
@sanketchavan08 As far as I know, there is no fine-grained permission giving amongst colaborators and sharing a notebook with someone does not give them access to your drive either. What I would recommend is uploading the file to a personal domain and keeping that as the source of truth which your friend can download from in his own notebook.
Most helpful comment
A typical pattern is to mount your Google Drive as a filesystem and store persistent files there.
To do this, run:
For more recipes, see the I/O example notebook.