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

Question about image preprocess? #102

Open
ztf-ucas opened this issue Oct 8, 2018 · 1 comment
Open

Question about image preprocess? #102

ztf-ucas opened this issue Oct 8, 2018 · 1 comment

Comments

@ztf-ucas
Copy link

ztf-ucas commented Oct 8, 2018

@fchollet @joeyhng
When I use the pretrained vgg16 model(vgg16_weights_tf_dim_ordering_tf_kernels), Which way should I according to preprocess input? Tf(range is -1,1) or caffe(convert to bgr and zero-center)?
Keras2.1.2 tf backend
The pretrained model are downloaded from weights_path_no_top in Keras code.
Thank you very much!

@ztf-ucas
Copy link
Author

ztf-ucas commented Oct 8, 2018

I want to know which way do you train the model? Tf or caffe? And If my processing is inconsistent with the pre-trained model, will it affect performance?

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

1 participant