nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
8.89k stars 1.18k forks source link

Docker/singularity container doesn't seem to contain ns-* commands #2952

Open cousins opened 4 months ago

cousins commented 4 months ago

Describe the bug

I built a singularity container from the Dockerhub address listed on the web page and then ran "singularity run --nv nerf.simg" and tried to find the ns-* files but I am unable to find them.

To Reproduce

Run:

singularity build nerf.simg docker://dromni/nerfstudio:1.0.2

singularity run --nv nerf.sif ns-process-data video --data /workspace/video.mp4

Expected behavior

No errors

** Result:

== CUDA ==

CUDA Version 11.8.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License. By pulling and using the container, you accept the terms and conditions of this license: https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

/opt/nvidia/nvidia_entrypoint.sh: line 67: exec: ns-process-data: not found

FabioLddo commented 3 weeks ago

I have a similar problem, when executing the container with singularity shell I cannot access the nerfstudio commands. from and initial analysis this is due to the fact that I don't have permissions to access the \usr folder.