Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Андрей Вуколов
openVINO
Commits
a8022cdb
Unverified
Commit
a8022cdb
authored
4 years ago
by
Mateusz Tabaka
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Enable TinyYolo v3 in CI (#3651)
parent
241b0fae
master
dependabot/pip/ngraph/python/tox-3.21.0
es/lpt/q_d_representation_integration
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ngraph/python/tests/__init__.py
+0
-1
ngraph/python/tests/__init__.py
ngraph/python/tests/test_onnx/test_zoo_models.py
+14
-6
ngraph/python/tests/test_onnx/test_zoo_models.py
with
14 additions
and
7 deletions
+14
-7
ngraph/python/tests/__init__.py
View file @
a8022cdb
...
...
@@ -208,7 +208,6 @@ xfail_issue_39661 = xfail_test(reason="RuntimeError: NonMaxSuppression operation
xfail_issue_39662
=
xfail_test
(
reason
=
"RuntimeError: 'ScatterElementsUpdate' layer with name 'y' have "
"indices value that points to non-existing output tensor element"
)
xfail_issue_39663
=
xfail_test
(
reason
=
"RuntimeError: Unsupported primitive of type: ROIAlign name: Y"
)
xfail_issue_43380
=
xfail_test
(
reason
=
"RuntimeError: Sorting not possible, due to existed loop"
)
xfail_issue_41894
=
xfail_test
(
reason
=
"CPU plugin elementwise computation missmatch"
)
...
...
This diff is collapsed.
Click to expand it.
ngraph/python/tests/test_onnx/test_zoo_models.py
View file @
a8022cdb
...
...
@@ -28,7 +28,6 @@ from tests.test_onnx.utils.model_importer import ModelImportRunner
from
tests
import
(
xfail_issue_38701
,
xfail_issue_43742
,
xfail_issue_43380
,
xfail_issue_45457
,
xfail_issue_40957
,
xfail_issue_37957
,
...
...
@@ -52,8 +51,18 @@ def yolov3_post_processing(outputs : Sequence[Any]) -> Sequence[Any]:
outputs
[
concat_out_index
]
=
concat_out
return
outputs
def
tinyyolov3_post_processing
(
outputs
:
Sequence
[
Any
])
->
Sequence
[
Any
]:
concat_out_index
=
2
# remove all elements with value -1 from yolonms_layer_1:1 output
concat_out
=
outputs
[
concat_out_index
][
outputs
[
concat_out_index
]
!=
-
1
]
concat_out
=
concat_out
.
reshape
((
outputs
[
concat_out_index
].
shape
[
0
],
-
1
,
3
))
outputs
[
concat_out_index
]
=
concat_out
return
outputs
post_processing
=
{
"yolov3"
:
{
"post_processing"
:
yolov3_post_processing
}
"yolov3"
:
{
"post_processing"
:
yolov3_post_processing
},
"tinyyolov3"
:
{
"post_processing"
:
tinyyolov3_post_processing
},
"tiny-yolov3-11"
:
{
"post_processing"
:
tinyyolov3_post_processing
},
}
tolerance_map
=
{
...
...
@@ -114,6 +123,8 @@ tolerance_map = {
"test_mobilenetv2-1"
:
{
"atol"
:
1e-04
,
"rtol"
:
0.001
},
"yolov3"
:
{
"atol"
:
0.001
,
"rtol"
:
0.001
},
"yolov4"
:
{
"atol"
:
1e-04
,
"rtol"
:
0.001
},
"tinyyolov3"
:
{
"atol"
:
1e-04
,
"rtol"
:
0.001
},
"tiny-yolov3-11"
:
{
"atol"
:
1e-04
,
"rtol"
:
0.001
},
}
zoo_models
=
[]
...
...
@@ -173,8 +184,6 @@ if len(zoo_models) > 0:
(
xfail_issue_39669
,
"test_onnx_model_zoo_text_machine_comprehension_t5_model_t5_encoder_12_t5_encoder_cpu"
),
(
xfail_issue_38084
,
"test_onnx_model_zoo_vision_object_detection_segmentation_mask_rcnn_model_MaskRCNN_10_mask_rcnn_R_50_FPN_1x_cpu"
),
(
xfail_issue_38084
,
"test_onnx_model_zoo_vision_object_detection_segmentation_faster_rcnn_model_FasterRCNN_10_faster_rcnn_R_50_FPN_1x_cpu"
),
(
xfail_issue_43380
,
"test_onnx_model_zoo_vision_object_detection_segmentation_tiny_yolov3_model_tiny_yolov3_11_yolov3_tiny_cpu"
),
(
xfail_issue_45457
,
"test_MSFT_opset10_mlperf_ssd_resnet34_1200_ssd_resnet34_mAP_20.2_cpu"
),
# Model MSFT
(
xfail_issue_37973
,
"test_MSFT_opset7_tf_inception_v2_model_cpu"
),
...
...
@@ -191,8 +200,7 @@ if len(zoo_models) > 0:
(
xfail_issue_39669
,
"test_MSFT_opset9_cgan_cgan_cpu"
),
(
xfail_issue_40957
,
"test_MSFT_opset10_BERT_Squad_bertsquad10_cpu"
),
(
xfail_issue_43380
,
"test_MSFT_opset11_tinyyolov3_yolov3_tiny_cpu"
)
(
xfail_issue_45457
,
"test_MSFT_opset10_mlperf_ssd_resnet34_1200_ssd_resnet34_mAP_20.2_cpu"
),
]
for
test_case
in
import_xfail_list
+
execution_xfail_list
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help