Skip to content

Commit 3ee605d

Browse files
committedSep 27, 2024
Added temporary steps to check all DNN engines.
1 parent c93948c commit 3ee605d

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed
 

‎.github/workflows/OCV-PR-5.x-ARM64.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,18 @@ jobs:
132132
timeout-minutes: 60
133133
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
134134
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
135-
- name: Accuracy:dnn
135+
- name: Accuracy: AUTO dnn
136136
timeout-minutes: 60
137137
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
138138
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
139+
- name: Accuracy: Classic dnn
140+
timeout-minutes: 60
141+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
142+
run: export OPENCV_FORCE_DNN_ENGINE=1 && cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
143+
- name: Accuracy: New dnn
144+
timeout-minutes: 60
145+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
146+
run: export OPENCV_FORCE_DNN_ENGINE=2 && cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
139147
- name: Accuracy:features2d
140148
timeout-minutes: 60
141149
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

‎.github/workflows/OCV-PR-5.x-U24.yaml

+10-2
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,18 @@ jobs:
131131
timeout-minutes: 60
132132
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
133133
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
134-
- name: Accuracy:dnn
134+
- name: Accuracy: AUTO dnn
135135
timeout-minutes: 60
136136
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
137-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
137+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
138+
- name: Accuracy: Classic dnn
139+
timeout-minutes: 60
140+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
141+
run: export OPENCV_FORCE_DNN_ENGINE=1 && cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
142+
- name: Accuracy: New dnn
143+
timeout-minutes: 60
144+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
145+
run: export OPENCV_FORCE_DNN_ENGINE=2 && cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=$PARALLEL_JOBS ${{ env.EXTRA_GTEST_OPTIONS }}
138146
- name: Accuracy:features2d
139147
timeout-minutes: 60
140148
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

‎.github/workflows/OCV-PR-5.x-W10.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,18 @@ jobs:
124124
timeout-minutes: 60
125125
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
126126
run: cd ${{ github.workspace }}\build && bin\opencv_test_core.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
127-
- name: Accuracy:dnn
127+
- name: Accuracy:dnn AUTO
128128
timeout-minutes: 60
129129
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
130130
run: cd ${{ github.workspace }}\build && bin\opencv_test_dnn.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
131+
- name: Accuracy:dnn Classic
132+
timeout-minutes: 60
133+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
134+
run: set OPENCV_FORCE_DNN_ENGINE=1 && cd ${{ github.workspace }}\build && bin\opencv_test_dnn.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
135+
- name: Accuracy:dnn New
136+
timeout-minutes: 60
137+
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
138+
run: set OPENCV_FORCE_DNN_ENGINE=2 && cd ${{ github.workspace }}\build && bin\opencv_test_dnn.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
131139
- name: Accuracy:features2d
132140
timeout-minutes: 60
133141
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

0 commit comments

Comments
 (0)