-
Notifications
You must be signed in to change notification settings - Fork 446
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
[OTX] Replace forked mm libraries with public ones #1497
[OTX] Replace forked mm libraries with public ones #1497
Conversation
Signed-off-by: Songki Choi <songki.choi@intel.com>
Enable model training and NNCF in mmdet (openvinotoolkit#1355) * Enable detection training on latest mmcv/det - ATSS / SSD / YOLOX - NNCF support for ATSS * fix: import errors * feat: add monkey patch to mmdet modules - most of patches would be just wrapping for not tracing in nncf context * feat: add trainable yolox - add trainable yolox - recursively search dataset cfg for nested dataset classes * fix: change device to cpu when nncf tracing * feat: add trainable ssd * refactor: rearange nncf adapter * feat: add trainable mask rcnn models * refactor: move out common utils * fix: ssd head bug * feat: add lr scheduler for accuracy aware runner * refactor: nncf module and monkey patch * fix: proper clustering anchors for ssd * fix: unable to trace the first module in NNCFNetwork * fix: bring back ssd head structure * feat: add train_step method to NNCFNetwork * fix: mismatches * fix: update pipeline for wrapper * fix: add missing file * Fix merge error Signed-off-by: Songki Choi <songki.choi@intel.com> Co-authored-by: Inhyuk Cho <andy.inhyuk.jo@intel.com>
* refactor: remove redundant * feat: enable mmseg training * feat: add nncf related stuff * fix: change lr config * fix: align nncf target metric * refactor: use mpa for training and inference * test: enable tests * fix: minor bug * refactor: patcher * fix: build consistent nncf graph * fix: minor bug * fix: remove unused backup * fix: dealt with datacontainer
* fix: use patcher * feat: update mmcls version * feat: enable NNCF for mmcls * refactor: add build NNCF model functions * fix: minor bug * fix: typo * fix: make sure importing nncf when enabled only * fix: inherit from base super class of otx
…t#1466) * feat: export using mmdeploy * fix: adapt mmdeploy exported model * test: enable openvino export * fix: patch depending on fn type * feat: mmdeploy for classification model * test: enable export and openvino performance test * fix: change temporary requirements * refactor: use builder * fix: do not propagate logger * fix: remove image channel format conversion * fix: handle unlabeled data * fix: run eval before optimizing nncf network * feat: change confidence threshold after nncf optimization * fix: remove redundant attribute * fix: official released openvino version * fix: remove redundants
…t as 0. (openvinotoolkit#1475)" This reverts commit c076902.
52ea65a
to
52e3b1d
Compare
79e1baa
to
3031515
Compare
1a75de3
to
2c21b40
Compare
d781dcd
to
33fe7ec
Compare
d51cf4a
to
734db24
Compare
734db24
to
c821e5b
Compare
@harimkang @goodsong81 @wonjuleee @sungmanc For a reference, here are test results in local with a clean NNCF optimisation for YOLOX failed from time to time.
|
I agree, CI seems like not working properly due to multi-gpu training issues. (Fails after 30 minutes for each TC) |
@cih9088 , What I have experienced during the CI tests, FAIL cases could be shown in CI although all test cases were passed on the local test. So, checking with CI test is needed before merging the branch unless we are in a hurry. So, I suggest waiting for the fixing of the CI. |
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.
There is an issue on the HPO side, but we decided to fix it in the next PR, not this PR.
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.
Cheers!
@cih9088 , maybe we need to change the URL of repo to more public one. What do you think? |
@sungmanc @goodsong81 |
You may need #1486 to use the updated NNCF commit. |
I highly encourage you to look into this PR thoroughly as this PR impacts on all tasks in OTX.
Changes
mmdeploy
to export model to OpenVINO IRAdaptiveTrainSchedulingHook
,EvalHook
) to evaluate model before and after training instead of createing new one [OTX] Evaluate a model before training starts #1472Tests
Related PRs