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

[docs] Fix image segmentation guide #30132

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

stevhliu
Copy link
Member

@stevhliu stevhliu commented Apr 8, 2024

Fixes #30058:

  • adds import for Accelerate
  • adds code snippet to view image but also keeps viewing the metadata as well since imo its important to see the other fields in there
  • reloads the dataset in the Inference section
  • adds the ade_palette colormap manually so the code snippet just runs (let me know if there is a better way to import the colormap!)

@stevhliu stevhliu requested a review from amyeroberts April 8, 2024 23:51
@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.

Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for this update!

@stevhliu stevhliu merged commit 21e23ff into huggingface:main Apr 9, 2024
8 checks passed
@stevhliu stevhliu deleted the image-seg branch April 9, 2024 16:08
ArthurZucker pushed a commit that referenced this pull request Apr 22, 2024
itazap pushed a commit that referenced this pull request May 14, 2024
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.

Image Segmentation Guide missing dependencies/imports and overwritten variables
3 participants