You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@siddhartamukherjee ,I have run your code in colab. Below is the following error,
Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "", line 25, in getitem
image_id, mask = self.make_mask(index)
File "", line 40, in make_mask
tree = ET.parse(annot)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/content/gdrive/My Drive/PHD_project/NEULOC/NEUDET/train/annotations\rolled-in_scale_21.xml'
But the image mentioned in the above error is surely present.
Please do reply .Thanks in advance.
The text was updated successfully, but these errors were encountered:
@siddhartamukherjee ,I have run your code in colab. Below is the following error,
Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "", line 25, in getitem
image_id, mask = self.make_mask(index)
File "", line 40, in make_mask
tree = ET.parse(annot)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/content/gdrive/My Drive/PHD_project/NEULOC/NEUDET/train/annotations\rolled-in_scale_21.xml'
But the image mentioned in the above error is surely present.
Please do reply .Thanks in advance.
The text was updated successfully, but these errors were encountered: