0

I have cloned git respiratory to the google drive folder using google colab but it constantly gives me error like the directory does not exist in the folder tho it is there and is seen when using !ls

The command I am using:

%cd gdrive/My Drive/project_folder/CSRNet-pytorch

The error:

[Errno 2] No such file or directory: 'gdrive/My Drive/project_folder/CSRNet-pytorch' 
/content/gdrive/My Drive/project_folder/CSRNet-pytorch

Tho sometimes it works sometimes it doesn't that is why I am confused. I have to mount my drive everytime using this command:

from google.colab import drive
drive.mount('/content/gdrive')

Maybe I am not seeing something but I am not sure where to look to solve this error, I can't access my datasets folder because of this and it can't read the images

0 Answers0