Files
FastDeploy/tests/acc_eval/classification/run.sh
yeliang2258 ef852579a9 [Bug Fix] Fix bugs in acc eval (#1276)
fix bugs in acc eval
2023-02-09 10:04:04 +08:00

9 lines
210 B
Bash
Executable File

TARGET_DEVICE=ascend
model_dir=`ls ./models/`
for MODEL_NAME in $model_dir
do
python eval.py --model ./models/$MODEL_NAME --image None --device $TARGET_DEVICE 2>&1 | tee ./log/${MODEL_NAME}_acc.log
done