-
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
[WIP] Multitask Training With mmdet
and yolov5
Models
#856
base: master
Are you sure you want to change the base?
Conversation
mmdet
Modelsmmdet
Models
Codecov Report
@@ Coverage Diff @@
## master #856 +/- ##
===========================================
- Coverage 87.60% 72.40% -15.21%
===========================================
Files 231 259 +28
Lines 4899 6066 +1167
===========================================
+ Hits 4292 4392 +100
- Misses 607 1674 +1067
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
mmdet
Modelsmmdet
and yolov5
Models
minor cleanup
I think we shall close this one. |
@FraPochetti @ai-fast-track converting this to a draft for now. Hope to get back to it soon! |
This PR is the culmination of a long ongoing dicussion centered around multitask training on the icevision Discord forums. See this channel for more info.
This PR brings together a few things:
Common
ImageClassificationHead
- A flexible single layer classification head that can work with either traditional classification models (where features are pooled) or FPN outputs in a flexible wayHybridSingleStageDetector
- Anmmdet -> SingleStageDetector
extension that allows for classification with an arbitrary number ofImageClassificationHead
headsHybridAugmentationsRecordDataset
- A dataset that allows for different augmentations for specific tasks. In practice, the model will do multiple forward passes for groups of tasks, followed by a collective backward pass. Useful when augmentations for a particular task destroy information for a different taskExDark
datasetMMDet - Single Stage
RetinaNet
andFCOS
out of the boxdataloader
s for single image datasetsdataloader
s for multi image augmentation datasetstrain_dl
,valid_dl
dataloader wrappersprediction
codeRetinaNet
loaderFCOS
loaderUltralytics - YOLO
dataloader
s for single image datasetsdataloader
s for multi image augmentation datasetstrain_dl
,valid_dl
dataloader wrappersprediction
code