-
Notifications
You must be signed in to change notification settings - Fork 150
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
Feature/1124 Added Pytorch Lightning Test support for all models #1125
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1125 +/- ##
==========================================
+ Coverage 85.48% 85.78% +0.30%
==========================================
Files 305 305
Lines 6675 6697 +22
==========================================
+ Hits 5706 5745 +39
+ Misses 969 952 -17
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
34e8fde
to
2f32d4b
Compare
2f32d4b
to
78257d1
Compare
78257d1
to
1c53bb2
Compare
I added some more unit tests to test the If someone can re-run the github workflows I would appreciate it (I'm a first-time contributor so I cannot trigger it). |
8216315
to
3ee0e54
Compare
@fstroth @ai-fast-track @FraPochetti The unit tests are passing on my local machine but not on the CI (OOM Killed). |
Yes, we do experience that now and then. It's good to know the tests passed on your local machine. Thank you for your contribution! |
@ai-fast-track It's a pleasure to contribute, we're really enjoying IceVision so far. |
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 to me, really nice PR. Thank you a lot @AlexandreBrown!
This is really nice, very useful PR. |
If this PR prevents test from passing in the future we should tackle this OOM bug asap. Otherwise gh ci/cd will be misleading |
* install torchtext==0.11.0 (airctic#1119) * install icevision from master (as default) (airctic#1121) * Feature/1124 Added Pytorch Lightning Test support for all models (airctic#1125) * feature/1124 Added Pytorch Lightning Test support for mmdet * feature/1124 Added Pytorch Lightning Test support for efficientdet * feature/1124 Added Pytorch Lightning Test support for torchvision * feature/1124 Added Pytorch Lightning Test support for yolov5 * feature/1124 Renamed shared evaluation method for mmdet * feature/1124 Renamed shared evaluation method for efficientdet * feature/1124 Renamed shared evaluation method for torchvision * feature/1124 Renamed shared evaluation method for yolov5 * feature/1124 Added test for PL test step of efficientdet * feature/1124 Added test for PL test step of mmdet * feature/1124 Added test for PL test step of torchvision models * feature/1124 Added test for PL test step of yolov5 * feature/1124 Updated object detection getting started guide to add PL test * feature/1124 Updated environment.yml to fix icevision version not found * feature/1124 Added unit tests for efficientdet lightning model adapter * feature/1124 Added unit tests for mmdet lightning model adapter * feature/1124 Added unit tests for torchvision lightning model adapter * feature/1124 Added unit tests for yolov5 lightning model adapter * feature/1124 Added unit tests for fastai unet lightning model adapter * feature/1124 Fixed memory consumption in PL tests * doc/1116 Added direction on how to import IceVision without wildcard import (airctic#1127) * Update tests to use newer pytorch lightning (airctic#1133) * force install pl>=1.7.0 * replace deprecated arguments * bump minimal pl version from 1.4.6 to 1.5.0 * Export preds to coco annotations (airctic#1132) * Add a function to export preds to COCO annotations * Downsample example images to save space; add optional metadata parameter * Separate 'info' field from the rest of 'addl_info' as a parameter * Fix unsightly notebook outputs * Fix slightly errant docstring. TODO: Add type hints * Black formatting * Clean up cluttered inference notebook output (airctic#1137) Co-authored-by: Ubuntu <[email protected]> * Make COCO exports remember original img resolutions (airctic#1142) * Make COCO exports remember original img resolutions * black formatting * updates sahi dependency * add support for sahi>=0.11 (airctic#1156) * add support for sahi>0.11 * pin sahi version * Added support for 3 bands float32 tiff images (airctic#1138) * Added support for 3 bands float32 tiff images * Removed circular dependency - Bug introduced by airctic#1132 - Credits goes to https://github.com/FraPochetti for finding the issue * Unit tests micro refactor --------- Co-authored-by: AI Fast Track <[email protected]> Co-authored-by: Alexandre Brown <[email protected]> Co-authored-by: Paweł Potrykus <[email protected]> Co-authored-by: Robert Boscacci <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Lucas Vazquez <[email protected]> Co-authored-by: fatih <[email protected]>
This closes #1124