Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save epireve/f6b21cdb90bec9f1b499f9389597ae98 to your computer and use it in GitHub Desktop.
Save epireve/f6b21cdb90bec9f1b499f9389597ae98 to your computer and use it in GitHub Desktop.
Mount Gdrive in Google Colab nb
import os
from google.colab import drive
drive.mount('/content/drive', force_remount=True)
# os.remove('/content/inv-tf')
os.symlink('/content/drive/Team Drives/Inv-tf', '/content/inv-tf')
print("symlink created")
!ls -l /content/inv-tf
root_dir = "/content/inv-tf/"
base_dir = root_dir + 'fastai-v3/'
print(base_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment