mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-09-24 23:33:08 +08:00
set benchmark_train dynamic epoch
This commit is contained in:
@@ -29,8 +29,6 @@ function set_dynamic_epoch(){
|
||||
arr=(${_str})
|
||||
M=${arr[0]}
|
||||
P=${arr[1]}
|
||||
gn=`expr $P - 1`
|
||||
gpu_num=`expr $gn / $M`
|
||||
ep=`expr $num \* $M \* $P`
|
||||
echo $ep
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user