jackroos / VL-BERT

Code for ICLR 2020 paper "VL-BERT: Pre-training of Generic Visual-Linguistic Representations".
MIT License
738 stars 110 forks source link

Why the preprocessing method differs from the official method of pytorch #77

Open vanpersie32 opened 3 years ago

vanpersie32 commented 3 years ago

hello, thanks for sharing your code. But I have a question why the preprocessing method differs from the official preprocessing method of pytorch. Your method preprocesses the BGR format image with std value (1.0,1.0,1.0) link however, the pytorch official method preprocesses RGB format image with std value (0.229, 0.224, 0.225) link