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

Convert image to RGB in EntityList for Jupyter compatibility #330

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Belval
Copy link
Contributor

@Belval Belval commented Mar 7, 2024

Issue #, if available: N/A

Description of changes: Convert PIL images to RGB before returning in .visualize() as a RGBA image will cause an error.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ThomasDelteil
Copy link
Collaborator

LGTM

@Belval Belval merged commit 5a85060 into master Mar 7, 2024
2 checks passed
@Belval Belval deleted the fix-visualize-in-jupyter branch March 7, 2024 22:55
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