Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: /home/robot/wf/AirCode/datasets/coco/train2017_points/000000244671.txt not found. #4

Open
lmsdss opened this issue Jun 21, 2023 · 0 comments

Comments

@lmsdss
Copy link

lmsdss commented Jun 21, 2023

run:
python train_superpoint.py -c ./config/train_superpoint_coco.yaml -g 0 -s results/ -d /home/robot/wf/AirCode/datasets/ -m ""
result:
loading annotations into memory...
Done (t=6.81s)
creating index...
index created!
Traceback (most recent call last):
File "train_superpoint.py", line 183, in
main()
File "train_superpoint.py", line 180, in main
train(configs)
File "train_superpoint.py", line 99, in train
for iter, batch in enumerate(train_loader):
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data
return self._process_data(data)
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
data.reraise()
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/_utils.py", line 425, in reraise
raise self.exc_type(msg)
FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/robot/anaconda3/envs/py38/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/robot/wf/AirCode/datasets/coco/coco.py", line 125, in getitem
points = np.loadtxt(point_path, dtype=np.float32, ndmin=2)
File "/home/robot/.local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 1338, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
File "/home/robot/.local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 975, in _read
fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
File "/home/robot/.local/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 193, in open
return ds.open(path, mode, encoding=encoding, newline=newline)
File "/home/robot/.local/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 533, in open
raise FileNotFoundError(f"{path} not found.")
FileNotFoundError: /home/robot/wf/AirCode/datasets/coco/train2017_points/000000244671.txt not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant