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

AttributeError: 'pycolmap.Camera' object has no attribute 'id' #393

Open
SunJ1025 opened this issue May 12, 2024 · 0 comments
Open

AttributeError: 'pycolmap.Camera' object has no attribute 'id' #393

SunJ1025 opened this issue May 12, 2024 · 0 comments

Comments

@SunJ1025
Copy link

Thanks for your Great Work!
when I'm trying to use the 7scenes pipline with commond:

python3 -m hloc.pipelines.7Scenes.pipeline --use_dense_depth

The following error occurred:

 File "/home/sun/Documents/feat2map-main/third_party/Hierarchical-Localization/hloc/pipelines/7Scenes/create_gt_sfm.py", line 56, in project_to_image
    p2D = np.stack(pycolmap.Camera(camera._asdict()).world_to_image(p2D_norm))
AttributeError: 'pycolmap.Camera' object has no attribute 'id'

I used pycomap==0.6.0, do you know how to solve it?
Thanks in advance.

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