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

to_numpy_helper astype parameter with uint8 #98

Open
eyaler opened this issue Jun 26, 2021 · 0 comments
Open

to_numpy_helper astype parameter with uint8 #98

eyaler opened this issue Jun 26, 2021 · 0 comments

Comments

@eyaler
Copy link

eyaler commented Jun 26, 2021

would be useful to have the astype=np.uint8 also do the *255 beforehand. otherwise using this option will return 0. not sure what is the convention in other libraries, but at least we could add a comment in the docs and perhaps a warning or exception in the runtime

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