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

Cast vmin and vmax to ndarray in imgify #88

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Conversation

chr5tphr
Copy link
Owner

  • the previous version did not cast the user-supplied vmin/vmax to
    numpy.ndarray, which in case of a torch.tensor would result in array
    also being cast to a torch.tensor, and thus resulting in an exception

- the previous version did not cast the user-supplied vmin/vmax to
  numpy.ndarray, which in case of a torch.tensor would result in `array`
  also being cast to a torch.tensor, and thus resulting in an exception
@chr5tphr chr5tphr merged commit 90e299a into master Jan 10, 2022
@chr5tphr chr5tphr deleted the imgify_bounds_ndarray branch January 10, 2022 17:10
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.

None yet

1 participant