File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ elif [ "$DEVICE" = "cpu" ] && [ "$PLATFORM" = "linux-aarch64" ];then
40
40
RUN_CASE=(${LINUX_AARCH_CPU_CASE[*]} )
41
41
elif [ " $DEVICE " = " cpu" ] && [ " $PLATFORM " = " osx-x86_64" ]; then
42
42
RUN_CASE=(${MACOS_INTEL_CPU_CASE[*]} )
43
+ CONF_THRESHOLD=0.5
43
44
elif [ " $DEVICE " = " cpu" ] && [ " $PLATFORM " = " osx-arm64" ]; then
44
45
RUN_CASE=(${MACOS_ARM64_CPU_CASE[*]} )
45
46
CONF_THRESHOLD=0.5
Original file line number Diff line number Diff line change 54
54
echo " Python Backend:" $backend
55
55
if [ " $backend " != " trt" ]; then
56
56
python infer_ppyoloe.py --model_dir $MODEL_PATH --image $IMAGE_PATH --device cpu --backend $backend >> py_$backend \_ cpu_result.txt
57
- if [ " $PLATFORM " = " osx-arm64" ]
57
+ if [ " $PLATFORM " = " osx-arm64" ] || [ " $PLATFORM " = " osx-x86_64 " ] ; then
58
58
python $COMPARE_SHELL --gt_path $GROUND_TRUTH_PATH --result_path py_$backend \_ cpu_result.txt --platform $PLATFORM --device cpu --conf_threshold 0.5
59
59
check_ret
60
60
else
86
86
cat $res_file
87
87
exit -1
88
88
fi
89
+
You can’t perform that action at this time.
0 commit comments