mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 06:10:34 +08:00
cameras_from_opencv_projection device #1021
Summary: Fix https://github.com/facebookresearch/pytorch3d/issues/1021 that cameras_from_opencv_projection always creates on CPU. Reviewed By: nikhilaravi Differential Revision: D33508211 fbshipit-source-id: fadebd45cacafd633af6a58094cf6f654529992c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
39bb2ce063
commit
45d096e219
@@ -55,6 +55,7 @@ def _cameras_from_opencv_projection(
|
||||
focal_length=focal_pytorch3d,
|
||||
principal_point=p0_pytorch3d,
|
||||
image_size=image_size,
|
||||
device=R.device,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user