How to load a dataset from google drive to google colab

FileNotFoundError: [Errno 2] No such file or directory: ‘/content/gdrive/My Drive/train’

i’ve tried to load a dataset from google drive to google colab , but it provide the error above ?! folder name in my google drive is( train )

train_dataset = datasets.ImageFolder(root="/content/gdrive/My Drive/train" , transform=train_transfor)

thanks

1 Like