Alternatively, mounts can be quoted (e.g. Paths on Windows use backslash ‘' while unix based systems use a frontslash ‘/’ for paths, where backslashes might require an escape character depending on where they are used (e.g. The container works on Linux and Windows, depending on your OS some additional setup steps might be required to provide access to your GPU inside containers. dromni/nerfstudio: \ # Docker image name ns-process-data video -data /workspace/video.mp4 # Smaple command of nerfstudio. Call nerfstudio commands directly #īesides, the container can also directly be used by adding the nerfstudio command to the end.ĭocker run -gpus all -v /folder/of/your/data:/workspace/ -v /home//.cache/:/home/user/.cache/ -p 7007:7007 -rm -it -shm-size =12gb # Parameters. Nerfstudio # Docker image tag if you built the image from the Dockerfile by yourself using the command from above. dromni/nerfstudio: # Docker image name if you pulled from docker hub. shm-size =12gb \ # Increase memory assigned to container to avoid memory limitations, default is 64 MB (recommended). it \ # Start container in interactive mode. rm \ # Remove container after it is closed (recommended). p 7007:7007 \ # Map port from local machine to docker container (required to access the web interface/UI). v /home//.cache/:/home/user/.cache/ \ # Mount cache folder to avoid re-downloading of models everytime (recommended). v /folder/of/your/data:/workspace/ \ # Mount a folder from the local machine into the container to be able to process them (required). Docker run -gpus all \ # Give the container access to nvidia GPU (required).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |