I am using kaggle to train a model and once training is done I would like upload the trained model to google drive as I cant figure out a way to download the model locally. I lo
I was facing the same problem and was able download files from Kaggle
to Colab
then move to Google Drive
. For example, if the current directory is /kaggle/working
and the file to move is processed_file.zip
then,
from IPython.display import FileLink
FileLink(r'processed_file.zip')
This will generate a link,
https://....kaggle.net/...../processed_file.zip
!wget "https://....kaggle.net/...../processed_file.zip"
from google.colab import drive
drive.mount('/content/drive')
!cp "/content/processed_file.zip" "/content/drive/My Drive/workspace"