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

Add Notebook for Fine-Tuning Semantic Segmentation Models and Using the Inference API #201

Conversation

sergiopaniego
Copy link
Contributor

What does this PR do?

Fixes #200.

This notebook includes:

  • Fine-Tuning a Semantic Segmentation Model: Demonstrates how to fine-tune a semantic segmentation model on a custom dataset.
  • Usage via the Inference API: Shows how to use the model with the Hugging Face Inference API.
  • Extra Point: Includes a demonstration of deploying the model using an HF Space 😄.

Who can review?

@merveenoyan and @stevhliu.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

review-notebook-app bot commented Sep 24, 2024

View / edit / reply to this conversation on ReviewNB

stevhliu commented on 2024-09-24T16:15:27Z
----------------------------------------------------------------

No need to put "Example use-case:..." in code format I think.

Maybe also move the model image under the first paragraph so users have more context about what they're looking at.


Copy link

review-notebook-app bot commented Sep 24, 2024

View / edit / reply to this conversation on ReviewNB

stevhliu commented on 2024-09-24T16:15:28Z
----------------------------------------------------------------

Also no need to use code formatting here. It should be reserved for code related stuff only :)


Copy link

review-notebook-app bot commented Sep 24, 2024

View / edit / reply to this conversation on ReviewNB

stevhliu commented on 2024-09-24T16:17:35Z
----------------------------------------------------------------

Maybe don't print and show the results here as it is causing the doc builder some issues 😅


@sergiopaniego
Copy link
Contributor Author

sergiopaniego commented Sep 25, 2024

Thanks for the review @stevhliu 😃
I've updated the notebook based on the comments!

Copy link

review-notebook-app bot commented Sep 25, 2024

View / edit / reply to this conversation on ReviewNB

stevhliu commented on 2024-09-25T16:41:06Z
----------------------------------------------------------------

This is also causing some issues with the doc-builder


Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

One more comment and then we should be ready to merge!

@sergiopaniego
Copy link
Contributor Author

Ready @stevhliu! I hope this time works 🤞

@stevhliu stevhliu merged commit f1be192 into huggingface:main Sep 26, 2024
1 check passed
@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.

@sergiopaniego sergiopaniego deleted the semantic-segmentation-fine-tuning-inference branch September 27, 2024 07:11
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.

New Cookbook for Fine-Tuning Semantic Segmentation Models and Using the Inference API
3 participants