deepcam-cn / Face-Anti-spoofing.pytorch

Train code of face anti-spoofing with a single RGB frame

Home Page:https://deepcam.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

transforms for image and depth are not sync together

gdjmck opened this issue · comments

I notice that the transforms for image data and depth data are not the same, there would be RandomResizedCrop for image data and just Resize for depth data. Wouldn't it lead to mismatch pixels for the generated depth and the ground truth depth?

Yes, it leads to a mismatch between the depth map and RGB image. But the mismatch is tiny.