Skip to content

ModuleNotFoundError: No module named 'SuperGluePretrainedNetwork' from official ghcr.io/nerfstudio-project/nerfstudio:latest #3697

@huster-wgm

Description

@huster-wgm

Describe the bug

ModuleNotFoundError: No module named 'SuperGluePretrainedNetwork' when using the official ghcr.io/nerfstudio-project/nerfstudio:latest Docker container with HLoc extractors (superpoint.py).

To Reproduce

  1. Enter docker container

docker run
--name nerfstudio
--gpus all
--privileged
--shm-size=16g
-v /media/go-hiroaki/WORK/Robotics/SLAM/:/workspace/
-p 7007:7007
-it
ghcr.io/nerfstudio-project/nerfstudio:latest bash

  1. Run data preproces pipeline

ns-process-data video --sfm-tool hloc --num-downscales 1 --data ./Datasets/DJI/videos/video_20250727_171450.mp4 --output-dir ./Datasets/nerfstudio/video_20250727_171450

  1. Error

File "/usr/local/lib/python3.10/dist-packages/hloc/extractors/superpoint.py", line 8, in
from SuperGluePretrainedNetwork.models import superpoint # noqa E402
ModuleNotFoundError: No module named 'SuperGluePretrainedNetwork'

Screenshots

Image

Additional context

OS: Ubuntu 22.04 (inside container)
Container: ghcr.io/nerfstudio-project/nerfstudio:latest
Python: 3.10+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions