-
Notifications
You must be signed in to change notification settings - Fork 148
monkey-patching wandb.watch when training a fastai RCNN learner with … #524
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #524 +/- ##
==========================================
- Coverage 86.63% 86.47% -0.16%
==========================================
Files 91 91
Lines 2184 2189 +5
==========================================
+ Hits 1892 1893 +1
- Misses 292 296 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
lgvaz
left a comment
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.
Looks good! Just a question before we merge this, if instead of patching we use log=None, is the bug solved?
Nope. That just doesn't log the gradients. |
|
Okay, makes a lot of sense!! So, the final thing before we merge, can you add a It would be nice to open a new issue in icevision to show your findings, you can just copy and paste the messages you sent me on discord, explaining that torchvision rcnn models are having a problem with the wandb hooks and the best quick solution we found is to simply don't add the hooks Then in the warning message you could say something like "Wandb quickfix implemented, for more info check issue #number_of_issue" |
|
Sure will do! |
|
I added a final comment to this issue describing what we did. |
|
The level of detail is perfect! Open another issue because the original one contains useless information and will be closed by this PR. It's easier to have a direct and clear issue for further reference =) |
|
Done. |
lgvaz
left a comment
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.
Looks perfect! Thanks SO MUCH again Francesco, as I said before, the amount of line changes doesn't reflect at all the work put into this ❤️
…the WandbCallback
This one addresses issue #490