Ask Your Question
1

After restarting the session, my unzipped files are deleted by Google Colab.

asked 2023-06-12 00:55:24 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-12 01:05:02 +0000

djk gravatar image

When you restart a session in Google Colab, all of the files that were not saved in Google Drive will be deleted. This includes unzipped files that you may have uploaded to the session.

To avoid losing your files, you can save them to Google Drive or use a cloud storage service like Dropbox or OneDrive. You can also download your files to your local computer before restarting the session.

Here are the steps to save your files to Google Drive:

  1. Open Google Drive in a new tab.
  2. Create a new folder for your Colab files.
  3. In the Colab notebook, navigate to the file you want to save.
  4. Click on the "Files" button in the top left corner of the notebook.
  5. Select "Save a copy to Drive".
  6. Choose the folder you just created in Google Drive.
  7. Click "Save".

Your file will now be saved in Google Drive and will not be deleted when you restart the Colab session.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-12 00:55:24 +0000

Seen: 10 times

Last updated: Jun 12 '23