Repository navigation
Runing tests on IE backend - #13774
Runing tests on IE backend #13774
Conversation
|
It looks like we can enable OCL_FP16 target as well: opencv/modules/dnn/test/test_torch_importer.cpp Lines 280 to 281 in b068d26 As here: opencv/modules/dnn/test/test_backends.cpp Lines 226 to 240 in b068d26 P.S. it looks like we need to refactor framework-specific tests and |
| if (backendId == DNN_BACKEND_INFERENCE_ENGINE) | ||
| { | ||
| if (pnorm != 2) | ||
| if (!(pnorm == 2 || pnorm == 1)) { |
There was a problem hiding this comment.
pnorm is not used for IE layer creation so I think we still need to allow only pnorm == 2 for now.
| #endif | ||
| checkBackend(); | ||
| if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16) | ||
| if (backend == DNN_BACKEND_INFERENCE_ENGINE && target == DNN_TARGET_OPENCL_FP16 && INF_ENGINE_RELEASE != 2018050000) |
There was a problem hiding this comment.
Let's keep this line unchanged. We test only the latest version (R5)
| if (backendId == DNN_BACKEND_INFERENCE_ENGINE) | ||
| { | ||
| if (pnorm != 2) | ||
| if (pnorm != 2) { |
There was a problem hiding this comment.
I think it's better to remove brackets.
dkurt
left a comment
There was a problem hiding this comment.
Looks good. Thank you! the only thing is that for CPU measurement of OpenFace we need to specify OMP_WAIT_POLICY=PASSIVE to get better numbers:
| Name of Test | Time before changes (ms) | Time after changes (ms) |
|---|---|---|
| OpenFace::DNNTestNetwork::DLIE/CPU | 3.72ms - 3.95ms | 3.52ms - 3.98ms |
|
Is it still WIP? |
|
@alalek, I removed it. |
|
Yes, I got result with |
This pullrequest changes
The following test now use IE backend:
Normalize layer
Resize layer
LRN layer
Performance test results
Processor: Intel® Core™ i5-6500 CPU @ 3.20GHz × 4
Graphics: Intel® HD Graphics 530 (Skylake GT2)