-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
"hloc" is hard to setup in docker image dromni/nerfstudio:0.1.17 #1412
Comments
Looks like they just recently added support for 3.10 here. I would say that it may be worth building from source in the docker file since it looks like for GPU support that's needed. |
Regarding the webpage, it is not yet available for Python 3.10 and I would avoid to change the python version in the whole docker image. As pablovela5620 mentioned, probably the best way would be to build from source into the image. If you need help doing this feel free to contact me directly (NicZer0 on nerfstudio discord) or if there is multiple people who need this I could also add it to the dromni/nerfstudio image. |
@edwardchenomni I addd hloc to the 0.1.18 image (dromni/nerfstudio:0.1.18). For me it seems to work fine, I would appreciate if you could test and verify that it is working and close the issue if so. |
Not the OP, but I was trying to get hloc to work as well when I came across this issue. If you'd prefer I post this in a separate issue please let me know and I'll move it. I put this here since I was trying out the Docker container. I seem to be encountering a problem with when I run
I get an error:
Full terminal output:
|
I checked this one, and the issue is that the "image_options" parameter is not yet implemented in hloc rlease v1.3 (which is the most recent and the one I used inside the docker image). So, it is a docker related issue :) Just for completion: The solution is quite easy, we need to use the main/master branch of hloc instead. Usually, I prefer to stick to releases to have a defined environment, however in this case it seems the authors do not create releases frequently, the last one is from January 2022. The docker image is noe on the master branch of hloc. |
@Zunhammer thank you for the effort! |
If everything is working in 0.1.18 I'll also add it to the Dockerfile afterwards. Would really appreciate your feedback on testing :) |
Had a chance to test. It works well, with one quirk . . . It looks like you need to pass either Running the container with Otherwise it throws an error:
(PyTorch docs: https://github.com/pytorch/pytorch#docker-image) |
Great, thanks for the feedback and glad that it works. Personally, I did not experience those issues but I see it makes sense to give a hint to either ipc or shm-size. I'll do so when I add hloc to the Dockerfile in the next PR. |
Describe the bug
While the instruction to manually install hloc for using --sfm-tool hloc in ns-process-data command is clearly shown.
It hard to achieve the manual installation process when using "docker image dromni/nerfstudio:0.1.17".
To Reproduce
docker run --gpus all --rm -it dromni/nerfstudio:0.1.17
git clone --recursive https://github.com/cvg/Hierarchical-Localization/
cd Hierarchical-Localization/
python3 -m pip install -e .
Expected behavior
Instead of smoothly installed, an error popped up complaining about:
ERROR: Could not find a version that satisfies the requirement pycolmap>=0.3.0 (from hloc) (from versions: none)
ERROR: No matching distribution found for pycolmap>=0.3.0
Screenshots
It seems like there no pycolmap candidate for python 3.10?
Is there any easy fix on this?
Best,
Edward Chen
The text was updated successfully, but these errors were encountered: