Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into songkich/merge-bac…
Browse files Browse the repository at this point in the history
…k-0.3.1
  • Loading branch information
goodsong81 committed Nov 11, 2022
2 parents 34ea42c + 214401d commit 5d8b18e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,6 @@ def patch_color_conversion(pipeline):
elif self._hierarchical:
cfg.type = "MPAHierarchicalClsDataset"
cfg.hierarchical_info = self._hierarchical_info
if subset == "train":
cfg.drop_last = True # For stable hierarchical information indexing
else:
cfg.type = "MPAClsDataset"

Expand Down
2 changes: 1 addition & 1 deletion external/model-preparation-algorithm/submodule
Submodule submodule updated 1 files
+6 −2 mpa/cls/trainer.py
6 changes: 4 additions & 2 deletions ote_cli/ote_cli/utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ def ote_eval_openvino_testing(template, root, ote_dir, args, threshold):

for k in trained_performance.keys():
assert (
abs(trained_performance[k] - exported_performance[k])
exported_performance[k] > trained_performance[k]
or abs(trained_performance[k] - exported_performance[k])
/ (trained_performance[k] + 1e-10)
<= threshold
), f"{trained_performance[k]=}, {exported_performance[k]=}"
Expand Down Expand Up @@ -520,7 +521,8 @@ def nncf_eval_testing(template, root, ote_dir, args, threshold):

for k in trained_performance.keys():
assert (
abs(trained_performance[k] - evaluated_performance[k])
evaluated_performance[k] > trained_performance[k]
or abs(trained_performance[k] - evaluated_performance[k])
/ (trained_performance[k] + 1e-10)
<= threshold
), f"{trained_performance[k]=}, {evaluated_performance[k]=}"
Expand Down

0 comments on commit 5d8b18e

Please sign in to comment.