Closed ghost closed 9 months ago
It seems like the data loader didn't grab any images. Did you set up the dataset as suggested in the readme?
Yes I downloaded the sample dataset you provided and placed it at the right path.
Any help please?
This is where the paths to the images from your disk are loaded into the data loader. You might want to look into why this is returning an empty array.
Can you please help me get it working?
File "C:\Users\MyPC\Downloads\FHDR-master\FHDR-master\test.py", line 68, in
for batch, data in enumerate(tqdm(data_loader, desc="Testing %")):
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\tqdm\std.py", line 1178, in iter
for obj in iterable:
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data\dataloader.py", line 633, in next
data = self._next_data()
^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data\dataloader.py", line 677, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\MyPC\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\data_utils\fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]