-
Notifications
You must be signed in to change notification settings - Fork 443
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
Refactor OTX classification phase 1: move modules from MPA to OTX #1893
Refactor OTX classification phase 1: move modules from MPA to OTX #1893
Conversation
Updated daily workflow - remove if statement to allow running on any branch by manually
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 can easily fix the dangerous-default-value
issue. I didn't get to comment on all of them because there are so many, but please fix them.
otx/algorithms/classification/adapters/mmcls/models/heads/conv_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/conv_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/custom_cls_head.py
Outdated
Show resolved
Hide resolved
...algorithms/classification/adapters/mmcls/models/heads/custom_hierarchical_linear_cls_head.py
Outdated
Show resolved
Hide resolved
...orithms/classification/adapters/mmcls/models/heads/custom_multi_label_non_linear_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/non_linear_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_multilabel_cls_head.py
Outdated
Show resolved
Hide resolved
@harimkang relected, could you review again? |
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.
It's quite big work! I want to say thanks to you. I left some comments. Please take a look :)
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/augments.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/augments.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/augments.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/augmix.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/augments.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_multilabel_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_multilabel_cls_head.py
Outdated
Show resolved
Hide resolved
otx/algorithms/classification/adapters/mmcls/models/heads/semisl_multilabel_cls_head.py
Outdated
Show resolved
Hide resolved
@eunwoosh @harimkang Reflected all of comments. Could you review again? |
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.
overall looks good to me but minor comments. I will approve if all reviews are reflected. Thanks:) And thanks for precommit resolving for some hooks:)
otx/algorithms/classification/adapters/mmcls/datasets/pipelines/transforms/__init__.py
Outdated
Show resolved
Hide resolved
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.
LGTM. Thanks for your work!
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.
Great work:)
* Bump up version to 1.1.0rc1 * Updated daily workflow (#1905) - remove if statement to allow running on any branch by manually * [FIX] Wrong test temp directory path (#1902) * Fix wrong test temp directory * Update tests/unit/algorithms/action/adapters/mmaction/utils/test_action_config_utils.py * Update test_action_config_utils.py * Update PR template (#1914) * Update . location. * Fix OTX1.1 -> Geti1.4 integration issues (#1910) * Add dill to requirements/api.txt * Return None instead of raising NotImplementedError in IMedia2DEntity.path * Move utils HPO uses into HPO directory (#1912) move utils into hpo dir * [FIX] Add stability to explain detection (#1901) Add stability to explain detection * [Fix] e2e tests FQ references (#1918) Fix FQ references * Move mpa.deploy to otx.algorithms.common (#1903) * Move deploy modules to otx * test: fix mmdeploy api replacement error * Fix pre-commit issues * Update otx/mpa/det/exporter.py * Update otx/mpa/exporter_mixin.py * Update otx/mpa/seg/exporter.py * Update otx/mpa/cls/exporter.py * Update otx/algorithms/common/adapters/mmdeploy/utils/mmdeploy.py * Update otx/algorithms/common/adapters/mmdeploy/utils/operations_domain.py * Add mmcls.VisionTransformer backbone support (#1908) * Add mmcls transformer backbones * Fix VisionTransformeroutput check * Add changes * Disable recording forward hooks in inferrer * Remove unused import * Move semantic-segmentation related codes to otx adapters (#1911) * Added security.md Add the security related notification * Update security.md fix prettier issue * Add custom exception class for CLI (#1919) * Add custom exception class for CLI * Fixed TCs for config_manager * Correct License to Apache * Remove temp hot key values (#1916) * Refactor OTX classification phase 1: move modules from MPA to OTX (#1893) * Revert TrainType typo (#1928) * Fix Conflict * Fix conflict * Fix unit-tests * Fix cli tests * Fix cli tests * Fix type * Move all hooks in MPA into OTX common mmcv adapter (#1922) * Add explanation for XAI & minor doc fixes (#1923) * [CI] Updated daily workflow (#1904) Updated daily workflow - remove if statement to allow running on any branch by manually * [FIX] re-bugfix: ATSS head loss (#1907) re bugfix * Fix typos * Explanation of Explanation * Add images & typo fixes * Fixes from comments * Add accuracy for OD explanation * Tutorial update * Add accuracy for BCCD and WGISD * Fix * Move utils to OTX common & adapter (#1931) * [CI] Updated daily workflow (#1904) Updated daily workflow - remove if statement to allow running on any branch by manually * [FIX] re-bugfix: ATSS head loss (#1907) re bugfix * Added security.md Added the security related notification. * Update security.md fix prettier issue * Move utils * Fix typo * Move classification unit tests to OTX tests (#1932) * [CI] Updated daily workflow (#1904) Updated daily workflow - remove if statement to allow running on any branch by manually * [FIX] re-bugfix: ATSS head loss (#1907) re bugfix * Added security.md Added the security related notification. * Update security.md fix prettier issue * Move classification unit tests * Apply mocker in RandAugment TC * Move otx.mpa.modules.ov -> otx.core.ov (#1929) * First Refactoring * Refactor mpa.modules.ov -> otx.core.ov * Remove otx.mpa.modules.ov * Fix docs & unit test paths * Fix some import * Add TODO comments * Add github icon link in doc head (#1934) * Fix invalid temp_dir inside unit tests (#1937) * Move all model utils and dataloaders/samplers in mpa to otx adapter (#1930) * Move stages to each algorithms (#1938) * Move stages to each algorithms * Change docs for action recognition (#1940) * Change docs for action recognition * Fix typo * Update MoViNet related parts * Add MoViNet performance * Revert table include Complexity and Model size * Fix tox to run tests on non-editable install * Fix packaging errors including cython module build / import issues (#1936) * Avoid cychon compile on Windows * Fix packaging errors * Fix pre-commit * Remove use_develop option from tox tests * Fix pre-commit * Fix tox -e -> -re for clean build * Fix import error * Add missing __init__.py * Fix relative -> absolute import * Revert to editable package in tox tests * Release 1.1.0 (#1933) * Release OTX 1.1.0 * Update known issues in CHANGELOG.md * Fix PR / issue # to links * Fix pre-commit * Bump-up version to 1.2 * Fix pre-commit --------- Signed-off-by: Songki Choi <[email protected]> Co-authored-by: Yunchu Lee <[email protected]> Co-authored-by: Harim Kang <[email protected]> Co-authored-by: Eunwoo Shin <[email protected]> Co-authored-by: Emily Chun <[email protected]> Co-authored-by: emily.chun <chuneuny@ikvensx012> Co-authored-by: Sungman Cho <[email protected]> Co-authored-by: Inhyuk Andy Cho <[email protected]> Co-authored-by: Jaeguk Hyun <[email protected]> Co-authored-by: Jihwan Eom <[email protected]> Co-authored-by: Soobee Lee <[email protected]> Co-authored-by: Galina Zalesskaya <[email protected]>
Summary
Moved modules which is registered in mmcls and used only in classification in mpa folder to otx mmclsadapter. (except for stage files) Summary is almost copied from #1911, special thanks to @harimkang and @supersoob :)
Unit tests (all passed)
E2E tests (classification)
How to test
Checklist
develop
branchLicense
Feel free to contact the maintainers if that's a concern.