As part of one of the projects which I want to solve a binary classification problem wherein I have saved the data into my PC (windows). Data is structured into two folders - 1) Class 0 pictures and 2) Class 1 pictures.
I want to download these dataset into Colab but when I am running below codes, its not working -
path = Path(‘D/cell_images’)
path.ls()
This is throwing the error -
No such file or directory: ‘D/cell_images’
How can I solve this issue?
I also used following codes-
path = ‘D/cell_images’
path = untar_data(path)
But this is giving me error-
Invalid URL ‘D/cell_images.tgz’: No schema supplied. Perhaps you meant http://D/cell_images.tgz?
I am really confused as to how to download the datasets in Colab…
Another question would be since my dataset is already classified into class 0 and class 1, should I combine these two first and then shuffle it before splitting into train and val sets?