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

votenet pre-trained scannet model doesn't work! KeyError: 'ann_info' #596

Closed
simba0703 opened this issue May 27, 2021 · 1 comment · Fixed by #600
Closed

votenet pre-trained scannet model doesn't work! KeyError: 'ann_info' #596

simba0703 opened this issue May 27, 2021 · 1 comment · Fixed by #600
Assignees

Comments

@simba0703
Copy link

raceback (most recent call last):
File "demo/pcd_demo.py", line 41, in
main()
File "demo/pcd_demo.py", line 28, in main
result, data = inference_detector(model, args.pcd)
File "/home/user/deeplearning/mmdetection3d/mmdet3d/apis/inference.py", line 102, in inference_detector
data = test_pipeline(data)
File "/home/user/deeplearning/mmdetection/mmdet/datasets/pipelines/compose.py", line 40, in call
data = t(data)
File "/home/user/deeplearning/mmdetection3d/mmdet3d/datasets/pipelines/transforms_3d.py", line 406, in call
assert 'axis_align_matrix' in input_dict['ann_info'].keys(),
KeyError: 'ann_info'

@Wuziyi616 Wuziyi616 self-assigned this May 27, 2021
@Wuziyi616
Copy link
Contributor

Thank you for pointing out the bug. I will raise a PR to fix it.
This bug is because we only support VoteNet demo on SUN RGB-D dataset, and ScanNet is slightly different from SUN RGB-D. Maybe you can try playing with the SUN RGB-D VoteNet weight first?

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

Successfully merging a pull request may close this issue.

2 participants