↓ 1 callersMethod__init__(
self,
*,
in_channels,
out_channels=None,
conv_shortcut=False,
algorithms/vae/common/modules/resnet.py:9
↓ 1 callersMethod_center_crop(
cls,
images: torch.Tensor, # (*batch, c, h, w),
shape: tuple[int, int],
)
datasets/video/utils/transform.py:40
↓ 1 callersMethod_read_video_tensor Convert video tensor to list of numpy frames. Args: video_tensor: Tensor of shape (T, C, H, W) or (B, T, C, H, W), range
algorithms/common/metrics/video/depth_collision.py:183
↓ 1 callersMethod_rescale(
cls,
image: torch.Tensor, # (c, h, w),
shape: tuple[int, int],
)
datasets/video/utils/transform.py:25
↓ 1 callersMethod_update Note: FVD, IS, REAL_IS: (B, C) (I3D features) FVMD: (B, T, C, H, W), [0, 1] FID, LPIPS, MSE, SSIM, PSNR:
algorithms/common/metrics/video/video_metric.py:302