CenterPoint icon indicating copy to clipboard operation
CenterPoint copied to clipboard

No such file or directory: '/newo_search/data/nuScenes/samples/LIDAR_TOP/n015-2018-07-18-11-50-34+0800__LIDAR_TOP__1531886030950126.pcd.bin'

Open Tom-zgt opened this issue 2 years ago • 6 comments

Traceback (most recent call last): File "./tools/train.py", line 168, in main() File "./tools/train.py", line 163, in main logger=logger, File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/torchie/apis/train.py", line 326, in train_detector trainer.run(data_loaders, cfg.workflow, cfg.total_epochs, local_rank=cfg.local_rank) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/torchie/trainer/trainer.py", line 542, in run epoch_runner(data_loaders[i], self.epoch, **kwargs) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/torchie/trainer/trainer.py", line 394, in train for i, data_batch in enumerate(data_loader): File "/data/workspace/zhengguangting/.conda/envs/centerpoint/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 517, in next data = self._next_data() File "/data/workspace/zhengguangting/.conda/envs/centerpoint/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1199, in _next_data return self._process_data(data) File "/data/workspace/zhengguangting/.conda/envs/centerpoint/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1225, in _process_data data.reraise() File "/data/workspace/zhengguangting/.conda/envs/centerpoint/lib/python3.7/site-packages/torch/_utils.py", line 429, in reraise raise self.exc_type(msg) FileNotFoundError: Caught FileNotFoundError in DataLoader worker process 0. Original Traceback (most recent call last): File "/data/workspace/zhengguangting/.conda/envs/centerpoint/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop data = fetcher.fetch(index) File "/data/workspace/zhengguangting/.conda/envs/centerpoint/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 "/data/workspace/zhengguangting/.conda/envs/centerpoint/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 "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/datasets/nuscenes/nuscenes.py", line 190, in getitem return self.get_sensor_data(idx) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/datasets/nuscenes/nuscenes.py", line 185, in get_sensor_data data, _ = self.pipeline(res, info) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/datasets/pipelines/compose.py", line 25, in call res, info = t(res, info) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/datasets/pipelines/loading.py", line 126, in call points = read_file(str(lidar_path), virtual=res["virtual"]) File "/data/workspace/zhengguangting/others_work/CenterPoint/det3d/datasets/pipelines/loading.py", line 40, in read_file points = np.fromfile(path, dtype=np.float32).reshape(-1, 5)[:, :num_point_feature] FileNotFoundError: [Errno 2] No such file or directory: '/newo_search/data/nuScenes/samples/LIDAR_TOP/n015-2018-07-18-11-50-34+0800__LIDAR_TOP__1531886030950126.pcd.bin'

Tom-zgt avatar Oct 09 '22 06:10 Tom-zgt

me too

sayhiOK avatar Apr 26 '23 07:04 sayhiOK

Did you solve it? I run into it when I try to evaluate

Byte247 avatar Jan 06 '24 08:01 Byte247

ah, my problem was most likely that I actually just did not download all the splits^^

Byte247 avatar Jan 06 '24 17:01 Byte247

Did anyone solve this problem? The dataset in the last error path is nuScenes. When my file name is nuscenes, I get an issue like this. 1 2 Then I change the dataset to nuScenes, another question arises. 3 4

ZXueYu avatar Mar 29 '24 11:03 ZXueYu