PointRCNN icon indicating copy to clipboard operation
PointRCNN copied to clipboard

Assert Problem!

Open yinhai86924 opened this issue 5 years ago • 8 comments

eval: 0%| | 0/3769 [00:00<?, ?it/s]Traceback (most recent call last): File "/home/yin/PointRCNN/tools/eval_rcnn.py", line 902, in eval_single_ckpt(root_result_dir) File "/home/yin/PointRCNN/tools/eval_rcnn.py", line 765, in eval_single_ckpt eval_one_epoch(model, test_loader, epoch_id, root_result_dir, logger) File "/home/yin/PointRCNN/tools/eval_rcnn.py", line 692, in eval_one_epoch ret_dict = eval_one_epoch_joint(model, dataloader, epoch_id, result_dir, logger) File "/home/yin/PointRCNN/tools/eval_rcnn.py", line 486, in eval_one_epoch_joint for data in dataloader: File "/home/yin/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 637, in next return self._process_next_batch(batch) File "/home/yin/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch raise batch.exc_type(batch.exc_msg) AssertionError: Traceback (most recent call last): File "/home/yin/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 138, in _worker_loop samples = collate_fn([dataset[i] for i in batch_indices]) File "/home/yin/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 138, in samples = collate_fn([dataset[i] for i in batch_indices]) File "/home/yin/PointRCNN/tools/../lib/datasets/kitti_rcnn_dataset.py", line 234, in getitem return self.get_rpn_sample(index) File "/home/yin/PointRCNN/tools/../lib/datasets/kitti_rcnn_dataset.py", line 249, in get_rpn_sample calib = self.get_calib(sample_id) File "/home/yin/PointRCNN/tools/../lib/datasets/kitti_rcnn_dataset.py", line 133, in get_calib return super().get_calib(idx % 10000) File "/home/yin/PointRCNN/tools/../lib/datasets/kitti_dataset.py", line 47, in get_calib assert os.path.exists(calib_file) AssertionError

yinhai86924 avatar Dec 13 '19 15:12 yinhai86924

Yes, even i got the same problem. How to resolve it?

Laihu08 avatar Apr 17 '20 04:04 Laihu08

请问如何解决?

Stone-sy avatar May 26 '20 14:05 Stone-sy

I also have this problem, have you resolved it? Can you give me some help? Thanks!

Liaoqing-up avatar Nov 14 '20 14:11 Liaoqing-up

me too!Can you give me some help?

paulchze avatar Sep 13 '21 01:09 paulchze

I find the problem which is because of the wrong of the file path

paulchze avatar Sep 13 '21 01:09 paulchze

Hello everyone,

I'm encountering the same error. Is there a solution available for this issue? If it turns out to be related to an incorrect file path, can be created a variable for it in cfgs/default.yaml?

kitti_dataset_ImageSets Why need imageSets?

VbsmRobotic avatar Nov 02 '23 06:11 VbsmRobotic

您好!您的邮件我已收到!

Stone-sy avatar Nov 02 '23 06:11 Stone-sy