Skip to content

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

@lmsdss

Description

@lmsdss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions