-
Notifications
You must be signed in to change notification settings - Fork 447
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 Configuration Converter in otx.tools #3254
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3254 +/- ##
===========================================
+ Coverage 78.39% 78.52% +0.13%
===========================================
Files 179 180 +1
Lines 15169 15323 +154
===========================================
+ Hits 11891 12033 +142
- Misses 3278 3290 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@vinnamkim @jaegukhyun In OTX 1.X (1.6), The template is used without distinction between multi class classification, multi label classification, and h label classification (They share one template.), and the model is determined at runtime via the functions below. training_extensions/src/otx/algorithms/classification/task.py Lines 134 to 157 in 620dfd1
training_extensions/src/otx/algorithms/classification/adapters/mmcls/task.py Lines 92 to 106 in 620dfd1
We need to discuss how to handle this in Geti. I think we should get the relevant task information from Geti or Dataset. |
See https://github.com/intel-innersource/frameworks.ai.interactive-ai-workflow.sonoma-creek/blob/433e1c46f123033b559935739552a9e1c6c9fc4a/src/workload_configurations/otx2/scripts/definitions.py#L99-L105 |
Thanks for letting me know. |
Summary
https://jira.devtools.intel.com/browse/CVS-134576
otx.tools
.instantiate
function to Converter that creates a dict with engine and train arguments based on a configuration of type dict.Converter is now available as shown below.
How to test
Checklist
License
Feel free to contact the maintainers if that's a concern.