Skip to content

Enable float32 image dtype in (Cached)MixUp#11981

Open
mawanda-jun wants to merge 1 commit intoopen-mmlab:mainfrom
mawanda-jun:patch-3
Open

Enable float32 image dtype in (Cached)MixUp#11981
mawanda-jun wants to merge 1 commit intoopen-mmlab:mainfrom
mawanda-jun:patch-3

Conversation

@mawanda-jun
Copy link
Copy Markdown

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