Update models/ISOMER/scripts/project_mesh.py
Browse files
models/ISOMER/scripts/project_mesh.py
CHANGED
@@ -13,7 +13,7 @@ from pytorch3d.renderer import (
|
|
13 |
FoVOrthographicCameras,
|
14 |
)
|
15 |
from pytorch3d.renderer import MeshRasterizer
|
16 |
-
|
17 |
|
18 |
def get_camera(world_to_cam, fov_in_degrees=60, focal_length=1 / (2**0.5), cam_type='fov'):
|
19 |
# pytorch3d expects transforms as row-vectors, so flip rotation: https://github.com/facebookresearch/pytorch3d/issues/1183
|
|
|
13 |
FoVOrthographicCameras,
|
14 |
)
|
15 |
from pytorch3d.renderer import MeshRasterizer
|
16 |
+
|
17 |
|
18 |
def get_camera(world_to_cam, fov_in_degrees=60, focal_length=1 / (2**0.5), cam_type='fov'):
|
19 |
# pytorch3d expects transforms as row-vectors, so flip rotation: https://github.com/facebookresearch/pytorch3d/issues/1183
|