Skip to content

Add support for images with other than 3 channels #19

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

Merged
merged 1 commit into from
Dec 29, 2016

Conversation

fmassa
Copy link
Member

@fmassa fmassa commented Dec 29, 2016

Also, we might want to avoid the division by 255 depending on the mode of the image.
For example, if the image is in 'P' mode (having a color palette, as is semantic segmentation ground truths) we want to keep the original integer values (corresponding to labels).

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

Successfully merging this pull request may close these issues.

2 participants