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

[doc] Clarification on the input normalisation format. #49

Open
Conchylicultor opened this issue Feb 11, 2021 · 0 comments
Open

[doc] Clarification on the input normalisation format. #49

Conchylicultor opened this issue Feb 11, 2021 · 0 comments

Comments

@Conchylicultor
Copy link

Thank you for sharing the code and models!

If I had a small suggestion, I would recommend to describe the input format in the hub description. Something like: image input should be a float32 scaled around [-1, 1]. This might seems obvious but some models normalize each channel independently with custom mean/std.

I had to dig into the source code to find out how the image was normalized :

im = (im - 127.5) / 127.5

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