"vscode:/vscode.git/clone" did not exist on "f725901dde5bc996fe3d4e163f4d4e7d53720146"
README.md 1.02 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
# 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
11
12
13
14
15
16
17
18
PyTorch3D from source inside colab, you can use
```
import os
!curl -O 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'`
```
19
20
21
instead.

The versions of these tutorials on the main branch may need to use the latest
22
23
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
24
`!pip install 'git+https://github.com/facebookresearch/pytorch3d.git'`.