fix data_path conflict

This commit is contained in:
l00486551 2021-06-24 17:09:03 +08:00
parent 8d4671b04e
commit b2b4b8b7ad
1 changed files with 1 additions and 1 deletions

View File

@ -59,6 +59,6 @@ cp ./*.yaml ./eval
env >env.log
echo "start evaluation for device CPU"
cd ./eval || exit
python ./eval.py --device_target=CPU --data_path=$PATH1 --dataset_name=$2 --config_path=$CONFIG_FILE \
python ./eval.py --device_target=CPU --val_data_dir=$PATH1 --dataset_name=$2 --config_path=$CONFIG_FILE \
--checkpoint_path=$PATH2 > ./eval.log 2>&1 &
cd ..