📝 add installation and run instructions
This commit is contained in:
parent
1b0dcae2f4
commit
b1f263613e
1 changed files with 25 additions and 0 deletions
25
README.md
25
README.md
|
@ -8,3 +8,28 @@ It is GPU only, there is support for CPU.
|
||||||
|
|
||||||
It cannot run my lab computer: NVIDIA GeForce RTX 2060 (6GiB of VRAM)
|
It cannot run my lab computer: NVIDIA GeForce RTX 2060 (6GiB of VRAM)
|
||||||
and thus need to be run on the cluster which has more VRAM.
|
and thus need to be run on the cluster which has more VRAM.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Please refer to the original Pytorch3D project, here is a quick summary:
|
||||||
|
|
||||||
|
```
|
||||||
|
conda create -n pytorhc3d python=3.8
|
||||||
|
conda activate pytorch3d
|
||||||
|
conda install -c pytorch pytorch=1.7.1 torchvision cudatoolkit=10.2
|
||||||
|
conda install -c conda-forge -c fvcore -c iopath fvcore iopath
|
||||||
|
conda install -c bottle nvidiacub
|
||||||
|
conda intall numpy matplotlib plotly
|
||||||
|
```
|
||||||
|
|
||||||
|
You can then clone this repo and run the code
|
||||||
|
```
|
||||||
|
git clone https://gitea.auro.re/otthorn/nerf_tutorial.git
|
||||||
|
cd nerf_tutorial
|
||||||
|
python3 main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
To deactivate the conda env
|
||||||
|
```
|
||||||
|
conda deactivate
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue