mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-14 11:26:24 +08:00
formatting changes from black 22.3.0
Summary: Applies the black-fbsource codemod with the new build of pyfmt. paintitblack Reviewed By: lisroach Differential Revision: D36324783 fbshipit-source-id: 280c09e88257e5e569ab729691165d8dedd767bc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c21ba144e7
commit
bef959c755
@@ -97,7 +97,7 @@ def generate_eval_video_cameras(
|
||||
cam_centers_on_plane.t() @ cam_centers_on_plane
|
||||
) / cam_centers_on_plane.shape[0]
|
||||
_, e_vec = torch.symeig(cov, eigenvectors=True)
|
||||
traj_radius = (cam_centers_on_plane ** 2).sum(dim=1).sqrt().mean()
|
||||
traj_radius = (cam_centers_on_plane**2).sum(dim=1).sqrt().mean()
|
||||
angle = torch.linspace(0, 2.0 * math.pi, n_eval_cams)
|
||||
traj = traj_radius * torch.stack(
|
||||
(torch.zeros_like(angle), angle.cos(), angle.sin()), dim=-1
|
||||
|
||||
Reference in New Issue
Block a user