We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"train-challenge"
Places365()
After downloading and extracting "train-challenge" dataset with Places365(), it gets the error as shown below:
from torchvision.datasets import Places365 trainchal_large_data = Places365( root="/data", split="train-challenge", small=False, download=True ) trainchal_large_data[0] # Error
FileNotFoundError: [Errno 2] No such file or directory: '.../data\data_large_challenge\a\airfield\00000001.jpg'
So, I renamed data_large folder to data_large_challenge folder, then it works properly as shown below:
data_large
data_large_challenge
from torchvision.datasets import Places365 trainchal_large_data = Places365( root="/data", split="train-challenge", small=False, download=False ) trainchal_large_data[0] # (<PIL.Image.Image image mode=RGB size=683x512>, 0)
It seems like when Places365() extracts "train-challenge" dataset, the folder name is set to data_large but not to data_large_challenge.
import torchvision torchvision.__version__ # '0.20.1'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Describe the bug
After downloading and extracting
"train-challenge"
dataset with Places365(), it gets the error as shown below:So, I renamed
data_large
folder todata_large_challenge
folder, then it works properly as shown below:It seems like when
Places365()
extracts"train-challenge"
dataset, the folder name is set todata_large
but not todata_large_challenge
.Versions
The text was updated successfully, but these errors were encountered: