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

problem #33

Open
DietCoke5 opened this issue Oct 11, 2024 · 0 comments
Open

problem #33

DietCoke5 opened this issue Oct 11, 2024 · 0 comments

Comments

@DietCoke5
Copy link

2024-10-10 21:24:50,763 INFO Start training kitti_models/CasA-V(default)
epochs: 0%| | 0/80 [00:00<?, ?it/s]
Traceback (most recent call last): | 0/1856 [00:00<?, ?it/s]
File "train.py", line 197, in
main()
File "train.py", line 169, in main
merge_all_iters_to_one_epoch=args.merge_all_iters_to_one_epoch
File "/home/ly/test/CasA-master/CasA-master/tools/train_utils/train_utils.py", line 101, in train_model
dataloader_iter=dataloader_iter
File "/home/ly/test/CasA-master/CasA-master/tools/train_utils/train_utils.py", line 25, in train_one_epoch
batch = next(dataloader_iter)
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/prefetch_generator/init.py", line 116, in next
raise next_item
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/prefetch_generator/init.py", line 98, in run
for item in self.generator: self.queue.put((True , item))
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 521, in next
data = self._next_data()
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 561, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ly/anaconda3/envs/casa/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ly/test/CasA-master/CasA-master/pcdet/datasets/kitti/kitti_dataset.py", line 388, in getitem
data_dict = self.prepare_data(data_dict=input_dict)
File "/home/ly/test/CasA-master/CasA-master/pcdet/datasets/dataset.py", line 140, in prepare_data
**data_dict,
File "/home/ly/test/CasA-master/CasA-master/pcdet/datasets/augmentor/data_augmentor.py", line 182, in forward
data_dict = cur_augmentor(data_dict=data_dict)
File "/home/ly/test/CasA-master/CasA-master/pcdet/datasets/augmentor/database_sampler.py", line 417, in call
data_dict = self.add_sampled_boxes_to_scene(data_dict, sampled_gt_boxes, total_valid_sampled_dict)
File "/home/ly/test/CasA-master/CasA-master/pcdet/datasets/augmentor/database_sampler.py", line 334, in add_sampled_boxes_to_scene
sampled_gt_boxes, data_dict['road_plane'], data_dict['calib']
KeyError: 'road_plane'
Can you tell me how this problem should be solved?Thanks

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