Skip to content
New issue

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

Preprocessing #23

Closed
cclough opened this issue Oct 21, 2018 · 2 comments
Closed

Preprocessing #23

cclough opened this issue Oct 21, 2018 · 2 comments

Comments

@cclough
Copy link

cclough commented Oct 21, 2018

For the preprocessing for ResNet models (switching RGB images to BGR):

  • Just to confirm, the pre-trained resnet models are trained on BGR?
  • Do the pretrained resnet models expect images to be zero mean & unit variance also, or not?

Another question: when fine tuning, how important is the 2 epoch freeze first? important/not important?

Thank you

@qubvel
Copy link
Owner

qubvel commented Oct 21, 2018

  1. yes, resnet models trained with images in BGR
  2. no, images should be in range 0-255 (models have batchnorm as the first layer)
  3. it is not very important to freeze, you can start train all model layers from the first epoch.

@qubvel qubvel closed this as completed Oct 26, 2018
@nklein23
Copy link

nklein23 commented Dec 2, 2018

I obtain better results when I provide normalized input data, strange..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants