Migrate classification to timm backbones with configurable multi-head heads#5
Open
cto-new[bot] wants to merge 1 commit intomasterTingelam/DeepLearningExamples:masterfrom
feat/timm-resnet-configurable-multi-headsTingelam/DeepLearningExamples:feat/timm-resnet-configurable-multi-headsCopy head branch name to clipboard
Open
Migrate classification to timm backbones with configurable multi-head heads#5cto-new[bot] wants to merge 1 commit intomasterTingelam/DeepLearningExamples:masterfrom feat/timm-resnet-configurable-multi-headsTingelam/DeepLearningExamples:feat/timm-resnet-configurable-multi-headsCopy head branch name to clipboard
cto-new[bot] wants to merge 1 commit intomasterTingelam/DeepLearningExamples:masterfrom
feat/timm-resnet-configurable-multi-headsTingelam/DeepLearningExamples:feat/timm-resnet-configurable-multi-headsCopy head branch name to clipboard
Conversation
…-head classification Introduce timm-based ResNet backbones for classification, enabling pretrained options, layer freezing, and feature extraction. Replace hard-coded per-attribute heads with a config-driven multi-head classifier, parsed from configs/classification_config.yaml. Extend pipeline and trainer to support arbitrary numbers of heads and per-head metrics, with per-head logging. Extend config schema and docs; add timm to requirements and README. Update training/inference scripts to support classification_task and per-head outputs. Add examples for vehicle types and human attributes and update docs accordingly. BREAKING CHANGE: classification_task must be provided when using the classification task; new config schema required for classification tasks; outputs per-head metrics are introduced.
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.
Summary
Enable timm-backed backbones for classification and switch to a config-driven multi-head classifier. This allows adding new attribute tasks by configuration without code changes, and exposes per-head metrics during training/evaluation.
Details
Migration Notes
Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup