i am trying to train my model with custom dataset on Google Colab. I uploaded my folders, weights etc. When I close Colab my folders are removed? what is the problem?
CodePudding user response:
Colab doesn't save data between sessions. You can either manually download and re-upload the necessary folders/weights for each session, or try to automate the process with Google Drive. Be aware that there are usage limits that are not well published - to do any real work, you'll need a paid hosted notebook platform like Google Vertex.
Colaboratory: Can I access to my Google drive folder and file?
CodePudding user response:
Colab clear all your temporary files when you close session. Try to save important files to google drive or your laptop.
For using google drive try this:
from google.colab import drive
drive.mount('/content/drive')