VCN icon indicating copy to clipboard operation
VCN copied to clipboard

question about the code

Open XiaoyuShi97 opened this issue 3 years ago • 1 comments

https://github.com/gengshan-y/VCN/blob/00c4befdbdf4e42050867996a6f686f52086e01a/dataloader/flow_transforms.py#L186-L189 Hi, could you please explain what this exit condition means? thx!

XiaoyuShi97 avatar Dec 07 '21 04:12 XiaoyuShi97

It checks whether the 4 corners of the warped image lie within the original image, and break (with success) if they are in.

gengshan-y avatar Dec 07 '21 07:12 gengshan-y