↓ 2 callersFunctionadd_jpg_compressionAdd JPG compression artifacts. Args: img (Numpy array): Input image, shape (h, w, c), range [0, 1], float32. quality (float): JPG
utils/dataset_utils.py:14
↓ 2 callersMethodcut_h(self, x_h_cut, h, w, h_cut, w_cut, padsize, shave, scale, batchsize)
net/ipt.py:184
↓ 2 callersMethodcut_w(self, x_w_cut, h, w, h_cut, w_cut, padsize, shave, scale, batchsize)
net/ipt.py:217