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

Enable float32 image dtype in (Cached)MixUp #11981

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mawanda-jun
Copy link

Motivation

The old method was forcing the np.uint8 dtype on the output image, thus not permitting the float32 dtype (case of images in (0, 1) interval).

Modification

Keep retrieve_img dtype in conversions

BC-breaking (Optional)

None

Use cases (Optional)

Use of images in (0, 1) interval

The old method was forcing the `np.uint8` dtype on the output image, thus not permitting the float32 dtype (case of images in (0, 1) interval).
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