We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在XPixelGroup/BasicSR/basicsr/data/transforms.py中在调用cv.augment时候,参数是否有误? 为什么有第三个参数
XPixelGroup/BasicSR/basicsr/data/transforms.py
def _augment(img): if hflip: # horizontal cv2.flip(img, 1, img) if vflip: # vertical cv2.flip(img, 0, img) if rot90: img = img.transpose(1, 0, 2) return img def _augment_flow(flow): if hflip: # horizontal cv2.flip(flow, 1, flow) flow[:, :, 0] *= -1 if vflip: # vertical cv2.flip(flow, 0, flow) flow[:, :, 1] *= -1 if rot90: flow = flow.transpose(1, 0, 2) flow = flow[:, :, [1, 0]] return flow
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在
XPixelGroup/BasicSR/basicsr/data/transforms.py
中在调用cv.augment时候,参数是否有误? 为什么有第三个参数The text was updated successfully, but these errors were encountered: