Learn practical skills, build real-world projects, and advance your career
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
from google.colab import auth
from oauth2client.client import GoogleCredentials
auth.authenticate_user()
gauth = GoogleAuth()
gauth.credentials = GoogleCredentials.get_application_default()
drive = GoogleDrive(gauth)
downloaded = drive.CreateFile({'id':"1HcACCoiw6gKa2ehHlg4N_lFOP6rXgdg2"})
from google.colab import drive
drive.mount('/content/gdrive')
Mounted at /content/gdrive
root_path = 'gdrive/My Drive/Datasets/cityscapes_data/'