[WIP] Multitask Training With mmdet and yolov5 Models#856
Draft
rsomani95 wants to merge 122 commits intoairctic:masterfrom
Draft
[WIP] Multitask Training With mmdet and yolov5 Models#856rsomani95 wants to merge 122 commits intoairctic:masterfrom
mmdet and yolov5 Models#856rsomani95 wants to merge 122 commits intoairctic:masterfrom
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
Contributor
|
I think we shall close this one. |
Contributor
Author
|
@FraPochetti @ai-fast-track converting this to a draft for now. Hope to get back to it soon! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 -> SingleStageDetectorextension that allows for classification with an arbitrary number ofImageClassificationHeadheadsHybridAugmentationsRecordDataset- 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 taskExDarkdatasetMMDet - Single Stage
RetinaNetandFCOSout of the boxdataloaders for single image datasetsdataloaders for multi image augmentation datasetstrain_dl,valid_dldataloader wrapperspredictioncodeRetinaNetloaderFCOSloaderUltralytics - YOLO
dataloaders for single image datasetsdataloaders for multi image augmentation datasetstrain_dl,valid_dldataloader wrapperspredictioncode