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
Hi,
this error occur when running test.sh, anyone have idea how to solve it? Thank you!
Here are the details:
File "tools/test_net.py", line 95, in
main()
File "tools/test_net.py", line 89, in main
cfg=cfg,
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/engine/text_inference.py", line 380, in inference
predictions = compute_on_dataset(model, data_loader, device)
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/engine/text_inference.py", line 55, in compute_on_dataset
for i, batch in tqdm(enumerate(data_loader)):
File "/usr/local/lib/python3.6/dist-packages/tqdm/std.py", line 1104, in iter
for obj in iterable:
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 394, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/data/datasets/icdar.py", line 32, in getitem
words,boxes,charsbbs,segmentations=self.load_gt_from_txt(gt_path,height,width)
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/data/datasets/icdar.py", line 89, in load_gt_from_txt
lines = open(gt_path).readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/icdar2013/test_gts/gt_img_202.txt'
The text was updated successfully, but these errors were encountered:
Hi,
this error occur when running test.sh, anyone have idea how to solve it? Thank you!
Here are the details:
File "tools/test_net.py", line 95, in
main()
File "tools/test_net.py", line 89, in main
cfg=cfg,
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/engine/text_inference.py", line 380, in inference
predictions = compute_on_dataset(model, data_loader, device)
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/engine/text_inference.py", line 55, in compute_on_dataset
for i, batch in tqdm(enumerate(data_loader)):
File "/usr/local/lib/python3.6/dist-packages/tqdm/std.py", line 1104, in iter
for obj in iterable:
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 394, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/data/datasets/icdar.py", line 32, in getitem
words,boxes,charsbbs,segmentations=self.load_gt_from_txt(gt_path,height,width)
File "/content/drive/My Drive/MaskTextSpotter/maskrcnn_benchmark/data/datasets/icdar.py", line 89, in load_gt_from_txt
lines = open(gt_path).readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/icdar2013/test_gts/gt_img_202.txt'
The text was updated successfully, but these errors were encountered: