-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
black formatting and migrated to self.log logging in finetuning example #5229
black formatting and migrated to self.log logging in finetuning example #5229
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5229 +/- ##
======================================
Coverage 93% 93%
======================================
Files 134 134
Lines 9950 9950
======================================
Hits 9261 9261
Misses 689 689 |
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.
LGTM, perhaps in a follow up one could further simplify by using the metrics api (Accuracy). 🥂
Co-authored-by: Rohit Gupta <[email protected]>
migrated to accuracy in the metrics package
Hello @jspaezp! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-01-04 12:43:26 UTC |
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.
LGTM
…le (#5229) * black formatting and migrated to self.log logging * Apply suggestions from code review Co-authored-by: Rohit Gupta <[email protected]> * migrated to accuracy in the metrics package migrated to accuracy in the metrics package * removed trailing whitespace * Apply suggestions from code review Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Rohit Gupta <[email protected]> Co-authored-by: Nicki Skafte <[email protected]> (cherry picked from commit 17a0784)
What does this PR do?
As discussed in #5174, it fixes the computer_vision_fine_tuning example.
return {'log': ...}
syntax instead of the currentself.log(...)
syntax.I noticed the changes seem fairly large due to black changing some of the formatting (which is suggested in the contribution guidelines pre-commit). Let me know if you want these changes to be rolled back to preserve the 'blame' of the repository
Let me know if you would like anything to be changed.
Fixes # (issue)
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
I did have fun coding
Kindest wishes,
Sebastian