Skip to content

Commit cfa6aea

Browse files
authored
Update ci.yml
1 parent 1fbb7cf commit cfa6aea

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -296,16 +296,16 @@ jobs:
296296
297297
- name: Run evaluation
298298
run: |
299-
echo "### Pre-run checks ###"
300-
export LD_LIBRARY_PATH=$PWD/build/bin/opencv_libs:/usr/lib/x86_64-linux-gnu
301-
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
302-
303-
LD_DEBUG=files "${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" --model alexnet_mnist 2> ld_debug.log
304-
echo "### Library loading debug ###"
305-
grep -i "opencv_imgcodecs" ld_debug.log
306-
307-
"${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" > accuracy.txt
308-
echo "Accuracy: $(cat accuracy.txt)"
299+
echo "### Running evaluation ###"
300+
export LD_LIBRARY_PATH=$PWD/build/bin/opencv_libs:/usr/lib/x86_64-linux-gnu
301+
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
302+
303+
echo "Running ACC evaluation..."
304+
"${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" --model alexnet_mnist > accuracy.txt 2>&1 || \
305+
"${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" > accuracy.txt 2>&1
306+
307+
echo "Evaluation output:"
308+
cat accuracy.txt
309309
310310
- name: Update README (master only)
311311
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)