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: 'gt_visib_fracts', errors.json missing key when --use_gpu is set #157

Open
zuodexin opened this issue Oct 24, 2024 · 1 comment

Comments

@zuodexin
Copy link

zuodexin commented Oct 24, 2024

I evaluate my results and run into this error

Traceback (most recent call last):
  File "./bop_toolkit/scripts/eval_calc_scores.py", line 308, in <module>
    matches += pose_matching.match_poses_scene(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "./bop_toolkit/bop_toolkit_lib/pose_matching.py", line 154, in match_poses_scene
    ms = match_poses(errs_im_obj, correct_th, n_top, scene_gt_valid[im_id])
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "./bop_toolkit/bop_toolkit_lib/pose_matching.py", line 58, in match_poses
    gt_visib_fract = e["gt_visib_fracts"][gt_id]
                     ~^^^^^^^^^^^^^^^^^^^
KeyError: 'gt_visib_fracts'

I checked the generated errors_id.json and could not find gt_visib_fracts in them, did I do somthing wrong?

@zuodexin
Copy link
Author

fixed in this pull request #158

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