training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Enable resume

Open JihwanEom opened this issue 3 years ago • 6 comments

This PR includes:

Summary:

  • Enable resume for all tasks. (cls/det/seg)
  • Update MPA submodule to parse resume information in stage.py
  • Related MPA PR: https://github.com/openvinotoolkit/model_preparation_algorithm/pull/52
  • Related DOR PR: https://github.com/openvinotoolkit/deep-object-reid/pull/233

JihwanEom avatar Aug 31 '22 02:08 JihwanEom

This PR will be merged after merging both MPA & DOR PR.

JihwanEom avatar Sep 01 '22 06:09 JihwanEom

CI is not working properly, so I attach CLI test result from local environment. You can reproduce same result on this branch with this command: pytest -rs ./external/model-preparation-algorithm/tests/ote_cli/test_[multiclass, det, seg]_cls_il.py

Classification

Detection

Segmentation Passed all the test cases.

JihwanEom avatar Sep 01 '22 06:09 JihwanEom

Is there any information on how to use it? (I can't see documentation change) Also, I wonder which of the --load_weights and --resume we can get is the preferred use of the existing stored ckpt. and what's the difference between the --load_weights resume_ckpt and --resume

Thank you for suggestion, document is updated now, changed --resume to --resume-from. If user inputs both --load-weights and --resume-from, --resume-from will be applied.

JihwanEom avatar Sep 13 '22 03:09 JihwanEom

run ote-test

JihwanEom avatar Sep 20 '22 01:09 JihwanEom

run ote-test

JihwanEom avatar Sep 20 '22 08:09 JihwanEom

run ote-test

harimkang avatar Sep 23 '22 04:09 harimkang

Could you add ote_cli tests for resume?

harimkang avatar Sep 26 '22 04:09 harimkang

run ote-test

JihwanEom avatar Oct 28 '22 02:10 JihwanEom

run ote-test

JihwanEom avatar Oct 28 '22 03:10 JihwanEom

run ote-test

JihwanEom avatar Oct 28 '22 03:10 JihwanEom

https://ci-ote.iotg.sclab.intel.com/job/ote/job/pr-ote-test/653/ http://validationreports.sclab.intel.com:8006/reports/build_number_report?test_session_build_number=pr-ote-test-653&environment=iotg-dev-workstation-10 Passed all resume related test cases.

JihwanEom avatar Oct 28 '22 17:10 JihwanEom

run ote-test

JihwanEom avatar Nov 03 '22 04:11 JihwanEom

run ote-test

JihwanEom avatar Nov 04 '22 01:11 JihwanEom

run ote-test

JihwanEom avatar Nov 09 '22 00:11 JihwanEom

run ote-test

JihwanEom avatar Nov 09 '22 04:11 JihwanEom

run ote-test

JihwanEom avatar Nov 18 '22 02:11 JihwanEom

Closing by enabling resume on feature/otx #1470

JihwanEom avatar Jan 12 '23 09:01 JihwanEom