Skip to content

Instantly share code, notes, and snippets.

@shawngraham
Last active April 24, 2024 23:42
Show Gist options
  • Save shawngraham/9899e77229ddae7ba8068aca083fe0f8 to your computer and use it in GitHub Desktop.
Save shawngraham/9899e77229ddae7ba8068aca083fe0f8 to your computer and use it in GitHub Desktop.
installing nerfstudio on a mac
# https://github.com/nerfstudio-project/nerfstudio/issues/2438
conda create --name nerfstudio -y python=3.8
conda activate nerfstudio
python -m pip install --upgrade pip
pip uninstall torch torchvision functorch tinycudann
pip install torch==2.0.1 torchvision==0.15.2
git clone https://github.com/nerfstudio-project/nerfstudio.git
cd nerfstudio
pip install --upgrade pip setuptools
pip install -e .
@shawngraham
Copy link
Author

(ie, nerfstudio runs on my M1 mini, but excruciatingly slowly.)

@shawngraham
Copy link
Author

ns-process-data video --data data/nerfstudio/testfilm.mp4 --output-dir data/nerfstudio/videooutput

longer videos, with slow movement around the object, seem to get best results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment