Darijan Gudelj ad8907d373 ImplicitronRayBundle
Summary: new implicitronRayBundle with added cameraIDs and camera counts. Added to enable a single raybundle inside Implicitron and easier extension in the future. Since RayBundle is named tuple and RayBundleHeterogeneous is dataclass and RayBundleHeterogeneous cannot inherit RayBundle. So if there was no ImplicitronRayBundle every function that uses RayBundle now would have to use Union[RayBundle, RaybundleHeterogeneous] which is confusing and unecessary complicated.

Reviewed By: bottler, kjchalup

Differential Revision: D39262999

fbshipit-source-id: ece160e32f6c88c3977e408e966789bf8307af59
2022-10-03 08:36:47 -07:00
..
2022-08-01 01:52:12 -07:00
2022-08-01 01:52:12 -07:00
2022-10-03 08:36:47 -07:00
2021-02-05 05:52:36 -08:00
2022-08-23 13:19:18 -07: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 PyTorch3D from pip, which should work 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'.