Skip to content

remove the deprecated prepare_mask_and_masked_image function#8512

Merged
sayakpaul merged 2 commits intomainfrom
rm-mask
Jun 13, 2024
Merged

remove the deprecated prepare_mask_and_masked_image function#8512
sayakpaul merged 2 commits intomainfrom
rm-mask

Conversation

@yiyixuxu
Copy link
Copy Markdown
Collaborator

@yiyixuxu yiyixuxu commented Jun 13, 2024

related to this:
#8492

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@yiyixuxu yiyixuxu requested a review from sayakpaul June 13, 2024 06:01
return mask


def prepare_mask_and_masked_image(image, mask, height, width, return_image: bool = False):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm now that it's deleted just wanted to make an observation that we missed "# Copied from ..." there.

Copy link
Copy Markdown
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sayakpaul sayakpaul merged commit 614d0c6 into main Jun 13, 2024
@sayakpaul sayakpaul deleted the rm-mask branch June 13, 2024 13:59
sayakpaul added a commit that referenced this pull request Dec 23, 2024
remove prepare mask fn

Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
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.

3 participants