-
Notifications
You must be signed in to change notification settings - Fork 323
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
U-net implementation #247
U-net implementation #247
Conversation
Hello @annikabrundyn! Thanks for updating this PR.
Comment last updated at 2020-09-25 00:26:33 UTC |
Codecov Report
@@ Coverage Diff @@
## master #247 +/- ##
==========================================
+ Coverage 88.31% 88.63% +0.31%
==========================================
Files 70 72 +2
Lines 3407 3538 +131
==========================================
+ Hits 3009 3136 +127
- Misses 398 402 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Very Nice! U-Net was one of the major models. So where does this model exactly go into? Into The original paper introduced this for medical imaging using semantic segmentation. So it is well known for this. There are weights available for torch hub as well. Here is the repo. This has an implementation of dice loss as well. I'm unsure if it is available in bolts/lightning, and might be good to support. The implementation is done is very very nice. |
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.
can we pls add simple tests for this U-Net?
Yes! Will add simple tests for U-net today. I've also got the segmentation model that uses U-net as backbone and Kitti datamodule that we can add once this is merged. |
cool, then we could upload the weights to S3 :] |
I've added a super simple test just to check that the forward gives the expected shape. Once we merge the Kitti datamodule, I'll add the segmentation model (which uses this Unet architecture) and a test to check it's performance on the dataset Let me know if you'd like me to add any other tests! |
This is a good question - this is basically just the UNet architecture so I'm adding a semantic segmentation model that uses this as a backbone. But yes - it's a useful model for lots of different applications so also wasn't sure where exactly it belongs! And thanks Aditya 😄 |
Adapting this model from an example in the Lightning repo.
Needs to be tested on Kitti dataset which I've submitted a separate PR for.