Home > other >  An image retrieval process, in the feature extraction stage appear what problem is this an error
An image retrieval process, in the feature extraction stage appear what problem is this an error

Time:11-25

[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/lotus/image_0014. JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/lotus/image_0007. JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/lotus/image_0004. JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/trilobite/image_0032 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/headphone/image_0024 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/trilobite/image_0054 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/headphone/image_0004 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/from/image_0032. JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/ewer/image_0011 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/Garfield/image_0008 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/ewer/image_0049 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/ant/image_0016 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/ewer/image_0014 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/from/image_0054. JPG '
0/270 [0% | | 00:00 & lt;? And? It/s]
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/watch/image_0131 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/watch/image_0125 JPG '
[the DataSet] : WARNING image can not be the loaded: [Errno 2] don't have that file or directory: './data/caltech101/query/watch/image_0095 JPG '
Traceback (the most recent call last) :
The File "main/extract_feature. Py," line 52, in & lt; module>
The main ()
File "main/extract_feature. Py", 48, the line in the main
Extract_helper. Do_extract (dataloader, args. Save_path, args. Save_interval)
The File "/usr/local/lib/python3.8/dist - packages/pyretri - 0.1.0 from + 3 faf94e - py3.8. An egg/pyretri/extract/helper/helper. Py", line 109, in do_extract
For _, batch in zip (pbar, dataloader) :
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/dataloader py", line 345, in __next__
Data=(https://bbs.csdn.net/topics/self._next_data)
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/dataloader py", line 856, in _next_data
Return the self. _process_data (data)
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/dataloader py", line 881, in _process_data
Data. Reraise ()
The File "/home/WWW/local/lib/python3.8/site - packages/torch/_utils. Py", line 394, reraise in
Raise the self. Exc_type (MSG)
AttributeError: Caught AttributeError DataLoader in worker process 0.
The Original Traceback (the most recent call last) :
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/_utils/worker. Py", line 178, in _worker_loop
Data=https://bbs.csdn.net/topics/fetcher.fetch (index)
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/_utils/fetch. Py", line 44, fetch in
Data=https://bbs.csdn.net/topics/[self. The dataset for independence idx possibly_batched_index] in [independence idx]
The File "/home/WWW/local/lib/python3.8/site - packages/torch/utils/data/_utils/fetch. Py", line 44, in & lt; Listcomp>
Data=https://bbs.csdn.net/topics/[self. The dataset for independence idx possibly_batched_index] in [independence idx]
The File "/usr/local/lib/python3.8/dist - packages/pyretri - 0.1.0 from + 3 faf94e - py3.8. An egg/pyretri datasets/folder/folder_impl/folder. Py", line 78, in the __getitem__
Img=self. The transformer (img)
The File "/home/WWW/local/lib/python3.8/site - packages/torchvision/transforms/transforms. Py", line 70, in __call__
Img=t (img)
The File "/usr/local/lib/python3.8/dist - packages/pyretri - 0.1.0 from + 3 faf94e - py3.8. An egg/pyretri datasets/transformer/transformers_impl/transformers. Py", line 70, in __call__
W, h=img. Size
AttributeError: 'NoneType' object has no attribute 'size'
  • Related