↓ 1 callersMethodcompute_loss_weights(
self,
k: torch.Tensor,
strategy: Literal["min_snr", "fused_min_snr", "uniform", "sig
algorithms/dfot/diffusion/discrete_diffusion.py:254
↓ 1 callersMethodextract_features Extract image features from the videos. Args: videos: Videos of shape (B, T, C, H, W), uint8, range [0, 255]. Ret
algorithms/common/metrics/video/vbench/cosine_similarity_dimension.py:9
↓ 1 callersFunctionget_frustums Args: K: [B, T, 3, 3]; [fx, fy, cx, cy] R_rc: [B, T, 3, 3] T_rc: [B, T, 3] Returns: frustum: [B, T, 8, 3]
utils/logging_utils.py:334
↓ 1 callersFunctionget_rays_from_cameras K: [..., 3, 3] or [..., 4] Camera intrinsic matrix. uv: [..., 2] Pixel coordinates. R_wc: [..., 3, 3] Rotation mat
utils/geometry_utils.py:549
↓ 1 callersFunctionlabel_video_frames_float frames: float32/float64 ndarray with shape (T, C, H, W) and values in [0, 1] returns: same shape & dtype, still in [0, 1], with frame
utils/logging_utils.py:184
↓ 1 callersFunctionmake_beta_schedule(
schedule: Literal["cosine", "sigmoid", "sd", "linear", "alphas_cumprod_linear"],
shift: float = 1.0,
algorithms/dfot/diffusion/noise_schedule.py:6
↓ 1 callersFunctionproject(
v0: torch.Tensor, # [B, C, H, W]
v1: torch.Tensor, # [B, C, H, W]
)
utils/guidance_utils.py:12