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

Regarding RGB vs BGR for vgg model #1

Open
InnovArul opened this issue Jul 11, 2018 · 0 comments
Open

Regarding RGB vs BGR for vgg model #1

InnovArul opened this issue Jul 11, 2018 · 0 comments

Comments

@InnovArul
Copy link

InnovArul commented Jul 11, 2018

Hi,

In your code, you seem to use the image as BGR, whereas in the torchvision documentation, itseems VGG model expects RGB.
I have used your code and tried to use the image as RGB. But the model prediction is not confident (<0.5).

Do you know which one of the formats we have to use for PyTorch models(BGR or RGB)?

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