New issue
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
.jpg files not find #59
Comments
Hi @xiaoweihappy123 |
The market1501 dataset file I downloaded listed all the pictures and did not store them according to the ID.Do I need to do this by hand? |
Hi @xiaoweihappy123 |
I But I've already run it |
Is any error when you run |
No any error. Is only creates several empty folders under the specified directory. trian.py:default='/home/xiaowei/Person_reID_baseline_pytorch/market/pytorch' What's the problem? |
Have you unzipped the market1501 into this |
Yes, I've unzipped it. My classmate is also very helpless to this mistake. |
Could you try |
I just tried it but it didn't work |
Is there any image under the |
Both folders have images under them, and below "train" I added manually. |
You do not need to add the data manually. |
@xiaoweihappy123 i have the same problem, I have solved it. your path is wrong. /home/xiaowei/Person_reID_baseline_pytorch/market。 |
3q, I have solved it. |
net output size:
torch.Size([8, 751])
[Resize(size=(288, 144), interpolation=PIL.Image.BICUBIC), RandomCrop(size=(256, 128), padding=0), RandomHorizontalFlip(p=0.5), ToTensor(), Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])]
Traceback (most recent call last):
File "train.py", line 114, in
data_transforms['train'])
File "/home/xiaowei/anaconda3/lib/python3.6/site-packages/torchvision/datasets/folder.py", line 178, in init
target_transform=target_transform)
File "/home/xiaowei/anaconda3/lib/python3.6/site-packages/torchvision/datasets/folder.py", line 79, in init
"Supported extensions are: " + ",".join(extensions)))
RuntimeError: Found 0 files in subfolders of: /home/xiaowei/Person_reID_baseline_pytorch/market/pytorch/train
Supported extensions are: .jpg,.jpeg,.png,.ppm,.bmp,.pgm,.tif
I do have images in my directory, the python version is 3.6, and the pytorch is 0.3.0.What's causing this?
The text was updated successfully, but these errors were encountered: