second.pytorch
second.pytorch copied to clipboard
why the info doesn‘t have the attribute image?
Traceback (most recent call last):
File "/home/yiqunhe/second.pytorch/second/pytorch/train.py", line 304, in train
for example in dataloader:
File "/home/yiqunhe/.conda/envs/yiqunhe/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 582, in next
return self._process_next_batch(batch)
File "/home/yiqunhe/.conda/envs/yiqunhe/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 606, in _process_next_batch
raise Exception("KeyError:" + batch.exc_msg)
Exception: KeyError:Traceback (most recent call last):
File "/home/yiqunhe/.conda/envs/yiqunhe/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/yiqunhe/.conda/envs/yiqunhe/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 99, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yiqunhe/second.pytorch/second/pytorch/train.py", line 670, in
Have you solved this question? I get the same questions
I also get the same questions.
same problem, any solution?
I had the similar problem. I figured out that the kitti_infos_train.pkl file I was using was generated using a different version than this repo. To fix that, you can run
python create_data.py kitti_data_prep --root_path=/path/to/KITTI/root/directory
and generate new kitti_infos_train.pkl which will have the necessary keys for the dictionary to be read by the script.
@niqbal996 can you mention the version. I got the same error even though the versions were same