Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
5b1716a2
Commit
5b1716a2
authored
Dec 02, 2019
by
Lara Haidar
Committed by
Francisco Massa
Dec 02, 2019
Browse files
enable mask rcnn test (#1613)
parent
227027d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.travis.yml
.travis.yml
+1
-1
test/test_onnx.py
test/test_onnx.py
+1
-2
No files found.
.travis.yml
View file @
5b1716a2
...
...
@@ -54,7 +54,7 @@ before_install:
-
pip install typing
-
|
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install
onnxruntime
pip install
-q --user -i https://test.pypi.org/simple/ ort-nightly==1.0.0.dev1123
fi
-
conda install av -c conda-forge
...
...
test/test_onnx.py
View file @
5b1716a2
...
...
@@ -329,11 +329,10 @@ class ONNXExporterTester(unittest.TestCase):
assert
torch
.
all
(
out2
.
eq
(
out_trace2
))
@
unittest
.
skip
(
"Disable test until Resize opset 11 is implemented in ONNX Runtime"
)
def
test_mask_rcnn
(
self
):
images
,
test_images
=
self
.
get_test_images
()
model
=
models
.
detection
.
mask_rcnn
.
maskrcnn_resnet50_fpn
(
pretrained
=
True
)
model
=
models
.
detection
.
mask_rcnn
.
maskrcnn_resnet50_fpn
(
pretrained
=
True
,
min_size
=
200
,
max_size
=
300
)
model
.
eval
()
model
(
images
)
self
.
run_model
(
model
,
[(
images
,),
(
test_images
,)])
...
...
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