v0.7.0
版本发布时间: 2022-08-10 19:16:16
facebookresearch/pytorch3d最新发布版本:v0.7.7(2024-06-27 19:32:25)
This release brings Implicitron and MeshRasterizerOpenGL. There are builds for PyTorch 1.12.0, but no longer 1.7.x.
Large New Features
- Implicitron, a framework for new-view synthesis via modeling neural-network based representations. See its README for an introduction.
- MeshRasterizerOpenGL, a faster alternative to MeshRasterizer described in Cole et al.. The speedup, which grows with mesh size, is about 20x on a 2M-faces-large mesh. This rasterizer is designed to work with SplatterPhongShader, a new per pixel lighting model. To use it, you must have pycuda with the gl extension enabled, as well as pyopengl.
New features
- You can now choose to ignore the XY flip in cameras’ transform_points_screen commit
- Fragments is now a dataclass with docstring and detach() commit
- SoftDepthShader and HardDepthShader for rendering depth maps commit and commit
- AmbientLights can now be used to render an arbitrary number of channels (not just RGB) commit
Bug fixes
- Fix for loading PLY files with heterogenous faces (e.g. mixture of triangles and quadrilaterals commit
- Pointclouds.num_points_per_cloud now always returns a tensor commit
- Chamfer fix for empty pointclouds commit
For developers
- We are now using black 22.3 or later
- Tests should now be run from the pytorch3d root directory not the tests directory.
Minor
- In blending, pull common functionality into get_background_color commit
- raising translated errors with
from None
so a simpler traceback is printed https://github.com/facebookresearch/pytorch3d/commit/8e0c82b89a96a1f1bed1ae5b84bd37524d0fe154 - PnP test fix commit
- fix test which had cuda indexes of a cpu tensor commit