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

KeyError: 'occ' #207

Open
YANG-Deep opened this issue Oct 23, 2024 · 1 comment
Open

KeyError: 'occ' #207

YANG-Deep opened this issue Oct 23, 2024 · 1 comment

Comments

@YANG-Deep
Copy link

YANG-Deep commented Oct 23, 2024

Thank you for your outstanding work! I have some questions about the visualization of occupancy map.
I saved result[0]['occ'] into result.pkl during evaluation, and visualized the map with render_cfg.with_occ_map=True.
However, when I run the code, I find:

  1. if 'topk_query_ins_segs' in outputs[k]['occ']:
     KeyError: 'occ'
    
  2. Also when I search something named ['topk_query_ins_segs'], I found this code only occurred in /visualize/run.py
    so I can not visualize the occupancy map correctly.

I would appreciate it if you could tell me what is wrong with my operation and how to visualize the occformer.

@Ep11phany
Copy link

Hello there, I found the same problem, and I was wondering if you have found the reason for and solution to visualizing the occ map?

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

2 participants