I try to load python image in google colab environment. But it's failed due to
FileNotFoundError: [Errno 2] No such file or directory: '/content/gdrive/My Drive/path_to_image/img.jpg'
I already uploaded image into google drive. how to fix this issue?
CodePudding user response:
try to past the exact file location:
image = img.imread("D:\\Something\Something\img.jpg")
CodePudding user response:
I found solution. Step one : mount google drive to colab project as below enter image description here
Step two: copy image path to relevant location. see below enter image description here
Problem solved