mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 20:02:49 +08:00
Bugfix: Wrong default T in SfMCameras
Summary: Fixes a bug that initializes default SfMCameras with a default _R instead of default _T Reviewed By: gkioxari Differential Revision: D23654583 fbshipit-source-id: ccfb7235b2fb6df5a2e402b9fb4b194e97d78dc6
This commit is contained in:
parent
f2eb34dc7a
commit
dc40adfa24
@ -688,7 +688,7 @@ we assume the parameters are in screen space.
|
|||||||
|
|
||||||
|
|
||||||
def SfMPerspectiveCameras(
|
def SfMPerspectiveCameras(
|
||||||
focal_length=1.0, principal_point=((0.0, 0.0),), R=_R, T=_R, device="cpu"
|
focal_length=1.0, principal_point=((0.0, 0.0),), R=_R, T=_T, device="cpu"
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
SfMPerspectiveCameras has been DEPRECATED. Use PerspectiveCameras instead.
|
SfMPerspectiveCameras has been DEPRECATED. Use PerspectiveCameras instead.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user