Skip to content
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

Merge back OTE v0.2.0 release fixes #1102

Merged
merged 20 commits into from
May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
4465c36
Add Instance Segmentation (object counting) training tests.
sstrehlk Apr 26, 2022
31d3fdf
Merge pull request #1078 from openvinotoolkit/sstrehlk/add_instance_s…
Apr 29, 2022
18efbe5
Merge pull request #1084 from openvinotoolkit/class-incr-learning-val…
May 4, 2022
607a84f
Merge pull request #1087 from openvinotoolkit/vsaltykovx/add_mmsegmen…
sstrehlk May 4, 2022
e3efb5e
Update test_ote_cls_cls_il.py
JihwanEom May 6, 2022
aaf099f
Rename test_ote_cls_cls_il.py to test_cls_cls_il.py
JihwanEom May 6, 2022
d39bac0
Update and rename test_ote_seg_cls_il.py to test_seg_cls_il.py
JihwanEom May 6, 2022
f8e55b9
Rename test_ote_det_cls_il.py to test_det_cls_il.py
JihwanEom May 6, 2022
9333ef7
Update training_tests_actions.py
JihwanEom May 6, 2022
8f79ccb
pre-commit fix in mmdet
harimkang May 6, 2022
3ee619f
Merge pull request #1091 from openvinotoolkit/jeom/align_test_resolution
May 6, 2022
5ea7a47
add fp16 back for efficientnetb2b_maskrcnn and add more tests
eugene123tw May 9, 2022
5236bc6
update ote
eugene123tw May 9, 2022
0c74b2c
Update change logs for OTE & submodules
May 9, 2022
29c0db9
Merge pull request #1095 from openvinotoolkit/songkich/update-changelog
May 9, 2022
aadce59
Minor update for mmdet commit
May 10, 2022
a1839e2
Merge pull request #1096 from openvinotoolkit/eugene/fix_fp16
May 10, 2022
cfaeb5f
Disable MPA model template
harimkang May 11, 2022
3528567
Rename template file name in api test
chuneuny-emily May 11, 2022
fa03d14
Merge pull request #1098 from openvinotoolkit/mpa-template-disable
May 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,29 @@

All notable changes to this project will be documented in this file.

## \[v0.2.0\]
### Added
* Model Preparation Algorithm (MPA), a newly introduced OTE Algorithm backend for advanced transfer learning
* Class-Incremental Learning support for OTE models
* Image Classification
* Object Detection
* Semantic Segmentation
* Object counting & Rotated object detection are added to Object Detection backend
* Increased support for NNCF / FP16 / HPO
* Ignored label support
* Stop training on NaN losses


### Changed
* Major refactoring
* Tasks & model templates had been moved to OTE repo from each OTE Algorithm backend


## \[v0.1.1\]
### Fixed
* Some minor issues


## \[v0.1.0\]
### Added
* OTE SDK, defines an interface which can be used by OTE CLI to access OTE Algorithms.
Expand All @@ -16,10 +35,3 @@ All notable changes to this project will be documented in this file.
* Object Detection
* Semantic Segmentation

## \[v0.2.0\]
### Added
* Model Preparation Algorithm (MPA), a newly introduced OTE Algorithm backend for advanced transfer learning
* Class-Incremental Learning support for OTE models
* Image Classification
* Object Detection
* Semantic Segmentation
2 changes: 1 addition & 1 deletion external/deep-object-reid/submodule
Submodule submodule updated 1 files
+16 −0 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@
dict(type='EarlyStoppingHook', patience=10, metric='mAP',
interval=1, priority=75, iteration_patience=0),
]
fp16 = dict(loss_scale=512.)
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,47 @@
: "metrics.accuracy.f-measure":
"base": "nncf_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.06

? "ACTION-training_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_ResNet50,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"target_value": 0.92
"max_diff_if_less_threshold": 0.06
"max_diff_if_greater_threshold": 0.06
? "ACTION-export_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_ResNet50,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01
? "ACTION-pot_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_ResNet50,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01
? "ACTION-nncf_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_ResNet50,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff_if_less_threshold": 0.01
? "ACTION-nncf_export_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_ResNet50,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "nncf_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01

? "ACTION-training_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_EfficientNetB2B,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"target_value": 0.92
"max_diff_if_less_threshold": 0.06
"max_diff_if_greater_threshold": 0.06
? "ACTION-export_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_EfficientNetB2B,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01
? "ACTION-pot_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_EfficientNetB2B,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01
? "ACTION-nncf_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_EfficientNetB2B,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "training_evaluation.metrics.accuracy.f-measure"
"max_diff_if_less_threshold": 0.01
? "ACTION-nncf_export_evaluation,model-Custom_Counting_Instance_Segmentation_MaskRCNN_EfficientNetB2B,dataset-aeromonas,num_iters-CONFIG,batch-CONFIG,usecase-reallife"
: "metrics.accuracy.f-measure":
"base": "nncf_evaluation.metrics.accuracy.f-measure"
"max_diff": 0.01
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@
ote_eval_testing,
ote_train_testing,
ote_export_testing,
nncf_optimize_testing,
nncf_export_testing,
nncf_eval_testing,
ote_hpo_testing,
nncf_eval_openvino_testing,
pot_optimize_testing,
pot_eval_testing
)


Expand Down Expand Up @@ -111,3 +118,45 @@ def test_ote_eval_deployment(self, template):
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_ote_demo_deployment(self, template):
ote_demo_deployment_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_optimize(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_optimize_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_export(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_export_testing(template, root)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_eval(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_testing(template, root, ote_dir, args, threshold=0.001)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_nncf_eval_openvino(self, template):
if template.entrypoints.nncf is None:
pytest.skip("nncf entrypoint is none")

nncf_eval_openvino_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_pot_optimize(self, template):
pot_optimize_testing(template, root, ote_dir, args)

@e2e_pytest_component
@pytest.mark.parametrize("template", templates, ids=templates_ids)
def test_pot_eval(self, template):
pot_eval_testing(template, root, ote_dir, args)
Loading