David Novotny 9fc661f8b3 Tutorial - Fit neural radiance field
Summary: Implements a simple nerf tutorial.

Reviewed By: nikhilaravi

Differential Revision: D24650983

fbshipit-source-id: b3db51c0ed74779ec9b510350d1675b0ae89422c
2021-01-06 08:27:20 -08:00
..
2020-01-23 11:53:46 -08:00
2020-11-10 16:35:42 -08:00
2020-11-10 16:35:42 -08:00
2020-11-10 16:35:42 -08:00
2020-11-10 16:35:42 -08:00
2020-11-10 16:35:42 -08:00
2020-11-10 16:35:42 -08:00

Tutorial notebooks

For current versions of the tutorials, which correspond to the latest release, please look at this directory at the stable tag, namely at https://github.com/facebookresearch/pytorch3d/tree/stable/docs/tutorials .

There are links at the project homepage for opening these directly in colab.

They install torch, torchvision and PyTorch3D from pip, which should work with the CUDA 10.1 inside a GPU colab notebook. If you need to install PyTorch3D from source inside colab, you can use

import os
!curl -LO https://github.com/NVIDIA/cub/archive/1.10.0.tar.gz
!tar xzf 1.10.0.tar.gz
os.environ["CUB_HOME"] = os.getcwd() + "/cub-1.10.0"
!pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'`

instead.

The versions of these tutorials on the main branch may need to use the latest PyTorch3D from the main branch. You may be able to install this from source with the same commands as above, but replacing the last line with !pip install 'git+https://github.com/facebookresearch/pytorch3d.git'.