Trikang
[리눅스] nerfstudio docker 이용해서 실행하기 본문
xoft님의 블로그 많이 참고함
[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!
'공부 > ML' 카테고리의 다른 글
Gaussian Shader 모델 코드 빌드 (1) | 2024.03.03 |
---|---|
[Python] 3D Gaussian splatting 여러 데이터 셋에 대해 일괄 학습-평가 진행하기 (0) | 2024.03.03 |
tetra-nerf 코드 빌드 환경 설정(cmake, OptiX, CGAL 5.5.2) (0) | 2024.03.02 |
[리눅스] nerfstudio에서 여러 데이터 셋 한 번에 COMLAP 처리하기(python 코드 작성) (0) | 2024.03.02 |
[리눅스, RTX 4090] NeRF & 3D Gaussian Splatting 실험 환경 설정(CUDA 환경설정, Tanks and Temples 데이터셋, nerfstudio) (5) | 2024.03.01 |
Comments