mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-26 06:28:19 +00:00
set benchmark_train dynamic epoch
This commit is contained in:
parent
637c62e49f
commit
99b7da9719
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user