Merge pull request #1594 from RainFrost1/fix_lite_train_whole_infer

fix tipc lite_train_whole_infer bug
pull/1596/head
Walter 2021-12-24 14:12:55 +08:00 committed by GitHub
commit c504371970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -118,9 +118,7 @@ if [ ${MODE} = "lite_train_lite_infer" ] || [ ${MODE} = "lite_train_whole_infer"
cd ILSVRC2012
mv train.txt train_list.txt
mv val.txt val_list.txt
if [ ${MODE} = "lite_train_lite_infer" ];then
cp -r train/* val/
fi
cp -r train/* val/
cd ../../
elif [ ${MODE} = "whole_infer" ] || [ ${MODE} = "klquant_whole_infer" ];then
# download data

View File

@ -87,7 +87,9 @@ benchmark_key=$(func_parser_key "${lines[49]}")
benchmark_value=$(func_parser_value "${lines[49]}")
infer_key1=$(func_parser_key "${lines[50]}")
infer_value1=$(func_parser_value "${lines[50]}")
if [ ! $epoch_num ]; then
epoch_num=2
fi
LOG_PATH="./test_tipc/output"
mkdir -p ${LOG_PATH}
status_log="${LOG_PATH}/results_python.log"