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

Input images have to be 32-bit #43

Closed
faymanns opened this issue Oct 22, 2019 · 1 comment
Closed

Input images have to be 32-bit #43

faymanns opened this issue Oct 22, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@faymanns
Copy link

The input image to model.predict(img, axes='YX', n_tiles=(2,1)) has to be a 32-bit image.
Using 16-bit images results in hot pixels in the background with values close to the saturation value of 16-bit.

@tibuch
Copy link
Collaborator

tibuch commented Oct 22, 2019

Hi @faymanns

This is true, the networks expect 32-bit float images. We should probably add a test and convert-step in our predict method.

Thanks for reporting!

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

No branches or pull requests

2 participants