-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 semantic script, trainer #16834
Add semantic script, trainer #16834
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this! It's not just Wandb, all loggers will complain about lists in metric values, so you should find a way to given them keys (at worst convert the list into a dict with {i: v for i, vin enumerate(list_to_convert)}
).
Not sure where the dataset name is replaced by None, but normally it should be passed along to the model card.
examples/pytorch/semantic-segmentation/run_semantic_segmentation.py
Outdated
Show resolved
Hide resolved
examples/pytorch/semantic-segmentation/run_semantic_segmentation.py
Outdated
Show resolved
Hide resolved
2daf0c4
to
6792356
Compare
* Add first draft * Improve script and README * Improve README * Apply suggestions from code review * Improve script, add link to resulting model * Add corresponding test * Adjust learning rate
* Add first draft * Improve script and README * Improve README * Apply suggestions from code review * Improve script, add link to resulting model * Add corresponding test * Adjust learning rate
What does this PR do?
This PR adds
run_semantic_segmentation.py
, which leverages the Trainer API for fine-tuning any model supported byAutoModelForSemanticSegmentation
.To do: