mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 06:10:34 +08:00
typing for trainer
Summary: Enable pyre checking of the trainer code. Reviewed By: shapovalov Differential Revision: D36545438 fbshipit-source-id: db1ea8d1ade2da79a2956964eb0c7ba302fa40d1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4e87c2b7f1
commit
40fb189c29
@@ -21,9 +21,9 @@ def generate_eval_video_cameras(
|
||||
trajectory_scale: float = 0.2,
|
||||
scene_center: Tuple[float, float, float] = (0.0, 0.0, 0.0),
|
||||
up: Tuple[float, float, float] = (0.0, 0.0, 1.0),
|
||||
focal_length: Optional[torch.FloatTensor] = None,
|
||||
principal_point: Optional[torch.FloatTensor] = None,
|
||||
time: Optional[torch.FloatTensor] = None,
|
||||
focal_length: Optional[torch.Tensor] = None,
|
||||
principal_point: Optional[torch.Tensor] = None,
|
||||
time: Optional[torch.Tensor] = None,
|
||||
infer_up_as_plane_normal: bool = True,
|
||||
traj_offset: Optional[Tuple[float, float, float]] = None,
|
||||
traj_offset_canonical: Optional[Tuple[float, float, float]] = None,
|
||||
|
||||
Reference in New Issue
Block a user