forked from mindspore-Ecosystem/mindspore
!15168 fix lenet performance on cpu
From: @huaweib Reviewed-by: @jjfeing,@kisnwang Signed-off-by: @kisnwang
This commit is contained in:
commit
8af28def00
|
@ -19,4 +19,5 @@ script_self=$(readlink -f "$0")
|
|||
self_path=$(dirname "${script_self}")
|
||||
DATA_PATH=$1
|
||||
CKPT_PATH=$2
|
||||
export OMP_NUM_THREADS=1
|
||||
python -s ${self_path}/../eval.py --data_path=$DATA_PATH --device_target="CPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 &
|
||||
|
|
|
@ -19,4 +19,5 @@ script_self=$(readlink -f "$0")
|
|||
self_path=$(dirname "${script_self}")
|
||||
DATA_PATH=$1
|
||||
CKPT_PATH=$2
|
||||
export OMP_NUM_THREADS=1
|
||||
python -s ${self_path}/../train.py --data_path=$DATA_PATH --device_target="CPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 &
|
||||
|
|
Loading…
Reference in New Issue