↓ 4 callersMethodsample_one Input: -img (N, C, H, W) -shiftx, shifty (N, c, H, W)
core/utils/forward_warp.py:74
↓ 1 callersMethodget_gaussian_weights(self, x, y, x1, x2, y1, y2)
core/utils/forward_warp.py:65
↓ 1 callersFunctionrender(decompose_result, replace_result, poster_brightness: float, data_root: str, mask = None, save=False)
harsh_lighting_utils.py:30
Method__call__ Input: im: Torch.tensor[C, H, W] tnf_type: 'random', 'affine', 'hom', 'tps' Output: im: Torch.tensor[C, H, W]
core/utils/augmentor.py:15
Method__call__(self, image_batch, theta_batch=None, out_h=None, out_w=None, return_warped_image=True,
retur
core/utils/transformation.py:105