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

Save image_processor while saving pipeline (ImageSegmentationPipeline) #25884

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

raghavanone
Copy link
Contributor

@raghavanone raghavanone commented Aug 31, 2023

What does this PR do?

Fixes #25804

When saving the pipeline, we had missed saving image_processor which was causing error when loading pipeline from disk. This PR fixes this bug.

@ArthurZucker

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

Nice. Can you add a little bit more details on the PR description? 😉

@raghavanone
Copy link
Contributor Author

Nice. Can you add a little bit more details on the PR description? 😉

Done

@ArthurZucker
Copy link
Collaborator

FYI @amyeroberts !

@ArthurZucker ArthurZucker merged commit 2be8a90 into huggingface:main Aug 31, 2023
19 checks passed
@raghavanone raghavanone deleted the fix_issue_25804 branch August 31, 2023 14:09
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
huggingface#25884)

* Save image_processor while saving pipeline (ImageSegmentationPipeline)

* Fix black issues
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
huggingface#25884)

* Save image_processor while saving pipeline (ImageSegmentationPipeline)

* Fix black issues
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 2023
huggingface#25884)

* Save image_processor while saving pipeline (ImageSegmentationPipeline)

* Fix black issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants