# CSI

## Environment Setup

```bash
1. Install cuda 12.4
2. Install nvidia optix from https://developer.nvidia.com/designworks/optix/download (8.0.0)
3. Create conda environment with python 3.10
  conda create -n csi python=3.10
4. Install torch (assuming cuda 12.4) 
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
5. Set Torch_DIR environment variable to Torch_DIR=C:\Users\AbdulTabish\anaconda3\envs\csi\Lib\site-packages\torch\share\cmake\Torch
6. install q-gsplat
   pip install "git+https://github.com/Quidient/gsplat.git" 
7. install q-nerfstudio
  pip install "git+https://github.com/Quidient/nerfstudio.git"
8. checkout qr master
  pip install .
9. install pytorch3d 
  git clone https://github.com/facebookresearch/pytorch3d 
  cd pytorch3d
  pip install .
10. install ml-depth-pro
  git clone https://github.com/apple/ml-depth-pro.git
  cd ml-depth-pro
  pip install .
9. check
  python python/examples/3DGRT/torch_optix_testing
10. install final dependencies
  pip install wxpython panda3d pand3d-simplepbr openexr pynvml drjit pandas omegaconf natsort
```

Run main.py to open the CSI application
