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
i want to train a tfa model and run on single gpu. and the issue is filenotfounderror since the datapath is unexistance and diffrent with which i set.The whole error is listed
Traceback (most recent call last):
File "tools/detection/train.py", line 236, in
main()
File "tools/detection/train.py", line 232, in main
meta=meta)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmfewshot-0.1.0-py3.7.egg/mmfewshot/detection/apis/train.py", line 206, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
iter_runner(iter_loaders[i], **kwargs)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
data_batch = next(data_loader)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 34, in next
data = next(self.iter_loader)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
data.reraise()
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/_utils.py", line 428, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/custom.py", line 218, in getitem
data = self.prepare_train_img(idx)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmfewshot-0.1.0-py3.7.egg/mmfewshot/detection/datasets/base.py", line 334, in prepare_train_img
return self.pipeline(results)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/pipelines/compose.py", line 41, in call
data = t(data)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/pipelines/loading.py", line 67, in call
img_bytes = self.file_client.get(filename)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 1014, in get
return self.client.get(filepath)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 535, in get
with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '//home/lsy/mmfewshot-main/data/sixray_od/sixray/Image/P06171.jpg'
This path is what i used to use but i changed it so i am confused how can it trace to an unexist path and how can i solve it
The text was updated successfully, but these errors were encountered:
i want to train a tfa model and run on single gpu. and the issue is filenotfounderror since the datapath is unexistance and diffrent with which i set.The whole error is listed
Traceback (most recent call last):
File "tools/detection/train.py", line 236, in
main()
File "tools/detection/train.py", line 232, in main
meta=meta)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmfewshot-0.1.0-py3.7.egg/mmfewshot/detection/apis/train.py", line 206, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 144, in run
iter_runner(iter_loaders[i], **kwargs)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 61, in train
data_batch = next(data_loader)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/runner/iter_based_runner.py", line 34, in next
data = next(self.iter_loader)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in next
data = self._next_data()
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
return self._process_data(data)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
data.reraise()
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/_utils.py", line 428, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
data = fetcher.fetch(index)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/custom.py", line 218, in getitem
data = self.prepare_train_img(idx)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmfewshot-0.1.0-py3.7.egg/mmfewshot/detection/datasets/base.py", line 334, in prepare_train_img
return self.pipeline(results)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/pipelines/compose.py", line 41, in call
data = t(data)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmdet/datasets/pipelines/loading.py", line 67, in call
img_bytes = self.file_client.get(filename)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 1014, in get
return self.client.get(filepath)
File "/home/fang/anaconda3/envs/mmfew/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 535, in get
with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '//home/lsy/mmfewshot-main/data/sixray_od/sixray/Image/P06171.jpg'
This path is what i used to use but i changed it so i am confused how can it trace to an unexist path and how can i solve it
The text was updated successfully, but these errors were encountered: