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

remove the deprecated prepare_mask_and_masked_image function #8512

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Conversation

yiyixuxu
Copy link
Collaborator

@yiyixuxu yiyixuxu commented Jun 13, 2024

related to this:
#8492

@HuggingFaceDocBuilderDev

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
@@ -132,124 +132,6 @@ def mask_pil_to_torch(mask, height, width):
return mask


def prepare_mask_and_masked_image(image, mask, height, width, return_image: bool = False):
Copy link
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
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
17 of 18 checks passed
@sayakpaul sayakpaul deleted the rm-mask branch June 13, 2024 13:59
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