microsoft / MaskFlownet

[CVPR 2020, Oral] MaskFlownet: Asymmetric Feature Matching with Learnable Occlusion Mask

Home Page:https://arxiv.org/abs/2003.10955

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BGR vs RGB input

htkseason opened this issue · comments

commented

Hi,

I have noticed that your work mainly uses 'cv2.imread' as image IO, which reads an image as BGR format. But in Sintel.py, I found a mixed use of 'skimage.io.imread' that reads RGB format. Is this expected?
Though I found both RGB/BGR works fine, could you clarify what is the expected input format for the network? What is the input format you used for benchmarking?

Thanks
Min

Hi htkseason,
We did use different IOs. I believe either RGB/BGR will be fine. We used exactly the provided code for benchmarking.