↓ 2 callersMethodforwardForward Function. Args: pred (Tensor): of shape (N, C, H, W). Predicted tensor. target (Tensor): of shape (N, C, H, W
lada/models/basicvsrpp/mmagic/pixelwise_loss.py:99
↓ 2 callersFunctiongenerate_gaussian_noiseGenerate Gaussian noise. Args: img (Numpy array): Input image, shape (h, w, c), range [0, 1], float32. sigma (float): Noise scale
lada/utils/degradations.py:406
↓ 2 callersFunctiongenerate_gaussian_noise_ptAdd Gaussian noise (PyTorch version). Args: img (Tensor): Shape (b, c, h, w), range[0, 1], float32. scale (float | Tensor): Noise
lada/utils/degradations.py:444
↓ 2 callersFunctiongenerate_poisson_noise_ptGenerate a batch of poisson noise (PyTorch version) Args: img (Tensor): Input image, shape (b, c, h, w), range [0, 1], float32. sc
lada/utils/degradations.py:583
↓ 2 callersFunctionget_resized_video(
video, size_h=224, size_w=224, random_crop=False, arp=False, **kwargs,
)
lada/models/dover/datasets/dover_datasets.py:144
↓ 2 callersFunctionletterbox(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
lada/models/bpjdet/utils/augmentations.py:13
↓ 2 callersFunctionspatial_temporal_view_decomposition(
video_path: str | list[np.ndarray], sample_types, samplers, is_train=False, augment=False,
)
lada/models/dover/datasets/dover_datasets.py:223