-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Initial version of segmentation reference scripts #820
Conversation
references/segmentation/datasets.py
Outdated
|
||
class SBDD(object): | ||
def __init__(self, root, image_set='train', transforms=None): | ||
self.root = root |
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.
os.path.expanduser(root)
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.
I'll definitely improve those datasets.
BTW, there has been a SBD dataset that has been recently merged into master, so I'll be inheriting from it instead most probably
Codecov Report
@@ Coverage Diff @@
## master #820 +/- ##
==========================================
+ Coverage 56.61% 57.87% +1.25%
==========================================
Files 38 46 +8
Lines 3432 3696 +264
Branches 540 561 +21
==========================================
+ Hits 1943 2139 +196
- Misses 1372 1431 +59
- Partials 117 126 +9
Continue to review full report at Codecov.
|
Leverage more and more torchvision datasets
Also remove outplanes from ResNet, and add a function for querying intermediate outputs. I won't keep it in the end, because it's very hacky and don't work with tracing
This is the segmentation counter part of #819
I've trained both FCN and DeepLabV3, and they give results within 3% of the reported numbers.
This will be heavily refactored once detection models are implemented.
In particular, many of the functionalities here will be cleaned up / generalized and moved into torchvision.