Methodforward
Args:
x (Tensor): Input with shape (b, 7, c, h, w)
Returns:
Tensor: Output with shape (b, c, h * scale,
r_basicsr/archs/duf_arch.py:246
Methodforward
Args:
ref (Tensor): Reference image with shape of (b, 3, h, w).
supp: The supporting image to be warped: (b, 3, h,
r_basicsr/archs/tof_arch.py:66
Methodforward
Args:
lrs: Input lr frames: (b, 7, 3, h, w).
Returns:
Tensor: SR frame: (b, 3, h, w).
r_basicsr/archs/tof_arch.py:137
Methodforward
Args:
pred (Tensor): of shape (N, C, H, W). Predicted tensor.
target (Tensor): of shape (N, C, H, W). Ground truth
r_basicsr/losses/basic_loss.py:73
Methodforward
Args:
pred (Tensor): of shape (N, C, H, W). Predicted tensor.
target (Tensor): of shape (N, C, H, W). Ground truth
r_basicsr/losses/basic_loss.py:107
Functionmake_sam_mask_segmented(sam_model, segs, image, detection_hint, dilation,
threshold, bbox_expansion, mas
scripts/r_masking/core.py:533