Skip to content

Removed numpy conversion to correctly convert PIL image to rgb - #36369

Merged
qubvel merged 1 commit into
huggingface:mainfrom
MSt-10:sam-convert-to-rgb-bug
Feb 25, 2025
Merged

Removed numpy conversion to correctly convert PIL image to rgb#36369
qubvel merged 1 commit into
huggingface:mainfrom
MSt-10:sam-convert-to-rgb-bug

Conversation

@MSt-10

@MSt-10 MSt-10 commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes #36368

Who can review?

@qubvel
@ArthurZucker

@qubvel qubvel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this! It's indeed a bug

@qubvel

qubvel commented Feb 25, 2025

Copy link
Copy Markdown
Contributor

run-slow: sam

@github-actions

Copy link
Copy Markdown
Contributor

This comment contains run-slow, running the specified jobs: This comment contains run-slow, running the specified jobs:

models: ['models/sam']
quantizations: [] ...

@qubvel
qubvel merged commit 88d1051 into huggingface:main Feb 25, 2025
@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SamImageProcessor do_convert_rgb not working correctly

3 participants