Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Tags
more
Archives
Today
Total
관리 메뉴

Trikang

[리눅스] nerfstudio docker 이용해서 실행하기 본문

공부/ML

[리눅스] nerfstudio docker 이용해서 실행하기

Trikang 2024. 3. 2. 16:08

xoft님의 블로그 많이 참고함

https://xoft.tistory.com/26

 

[API 리뷰] NeRF Studio : NeRF 통합 Framework

NeRF를 쉽고 편리하게 구현 할 수 있는 API이자 Framework인 nerfstudio 에 대해 소개합니다. nerfstudio에서는 NeRF모델을 구현하는데 필요한 Data Preprocess, Data Loader, Model Training, Visualizing, Rendering을 API형태로

xoft.tistory.com

 

docker가 리눅스에 설치되어 있다고 가정

버전은 계속해서 업데이트 되니까, 최신 버전 확인 후 아래 코드 수정하면 됨


sudo docker pull dromni/nerfstudio:1.0.2
docker run --gpus all -v /home/user/nerfstudio/data:/workspace/ \
-v /home/user/nerfstudio/cache:/home/user/.cache/ \
-p 7007:7007 \
--name nerfstudio -it dromni/nerfstudio:1.0.2

sudo docker attach nerfstudio

 

이후 접속된 도커 컨테이너에서 ns-install-cli 명령 날려서 다 잘 작동하는지 확인

ns-install-cli
[07:04:03] 🤷 .zshrc not found, skipping.                                                                 install.py:369
           🔍 Found .bashrc!                                                                              install.py:371
           ✔ Nothing to do for /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-dev-test.    install.py:138
[07:04:04] ✔ Nothing to do for /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-install-cli. install.py:138
[07:04:05] ✔ Nothing to do for                                                                            install.py:138
           /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-dev-sync-viser-message-defs.                   
[07:04:06] ✔ Updated completion at                                                                        install.py:136
           /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-download-data!                                 
           ✔ Updated completion at                                                                        install.py:136
           /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-process-data!                                  
[07:04:16] ✔ Nothing to do for /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-eval.        install.py:138
           ✔ Nothing to do for /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-viewer.      install.py:138
           ✔ Updated completion at /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-render!  install.py:136
           ✔ Nothing to do for /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-export.      install.py:138
[07:04:17] ✔ Updated completion at /home/user/nerfstudio/nerfstudio/scripts/completions/bash/_ns-train!   install.py:136
           🧹 Existing completions uninstalled from /home/user/.bashrc.                                   install.py:227
           🙆 Completions installed to /home/user/.bashrc. Ok! Open a new shell to try them out.          install.py:233
All done!
Comments