-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add support for Pascal Context 59 classes #459
Conversation
Codecov Report
@@ Coverage Diff @@
## master #459 +/- ##
==========================================
- Coverage 86.51% 86.48% -0.03%
==========================================
Files 97 97
Lines 4967 4974 +7
Branches 806 807 +1
==========================================
+ Hits 4297 4302 +5
- Misses 517 519 +2
Partials 153 153
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* Create PascalContextDataset59 class in mmseg/datasets/pascal_context.py; * Set reduce_zero_label=True for train_pipeline and PascalContextDataset59; * Add some configs for Pascal-Context 59 classes training and testing;
…)=0"; * Modify the calculation of IoU;
mmseg/core/evaluation/metrics.py
Outdated
intersect.float(), bins=(num_classes), min=0, max=num_classes) | ||
intersect.float(), bins=num_classes, min=0, max=num_classes - 1) |
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.
We may need to test whether the results are consistent for other models.
We could make another PR for this modification, we may also include impact range in the new PR.
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.
We may merge master and resolve conflicts.
…training based on PascalContextDataset59; Add some ignore items in ".gitignore";
… of pspnet config file;
* Add weighs link, config link, log link and evaluation results about PascalContextDataset59 in README.md
…nsmit port when you transmit data to distributed machine.
Please merge master to resolve the conflicts. |
We may delete unused configs. |
1c5a7eb
to
d463783
Compare
* Remove "-p|--port" command argument;
* Add support for Pascal Context 59 classes (open-mmlab#459) * Create PascalContextDataset59 class in mmseg/datasets/pascal_context.py; * Set reduce_zero_label=True for train_pipeline and PascalContextDataset59; * Add some configs for Pascal-Context 59 classes training and testing; * Try to solve the problem about "fence(IoU)=nan grass(IoU)=0"; * Continue(1): Try to solve the problem about "fence(IoU)=nan grass(IoU)=0"; * ignore files and folders named tempxxx; * Continue(2): Try to solve the problem about "fence(IoU)=nan grass(IoU)=0"; * Modify the calculation of IoU; * Modify the CLASSES order of PascalContextDataset; * Add "fcn", "deeplabv3", "deeplabv3+", "pspnet" config file for model training based on PascalContextDataset59; Add some ignore items in ".gitignore"; * fix the bug "test_cfg specified in both outer field and model field " of pspnet config file; * * Clean unnecessary codes; * Add weighs link, config link, log link and evaluation results about PascalContextDataset59 in README.md * Add command line argument: "-p | --port", this arg can change the transmit port when you transmit data to distributed machine. * * Remove rebundant config files; * Remove "-p|--port" command argument; Co-authored-by: Jiarui XU <xvjiarui0826@gmail.com>
Create PascalContextDataset59 class in mmseg/datasets/pascal_context.py;
Set reduce_zero_label=True for train_pipeline and PascalContextDataset59;
Add some configs for Pascal-Context 59 classes training and testing;
All evaluations are conducted after PR #471.
This table aims at checking the correctness of pascal context 59 dataset support.
This table is the training and evaluation collection.
How to use HRNetV2-W48 official weights to test on our repo?