Unverified Commit b05ed189 authored by Double_V's avatar Double_V Committed by GitHub
Browse files

Merge pull request #5428 from LDOUBLEV/dygraph

[benchmark]fix bug
parents 86366333 59ab8171
......@@ -32,11 +32,7 @@ function func_sed_params(){
array=(${params})
key=${array[0]}
value=${array[1]}
if [[ $value =~ 'benchmark_train' ]];then
IFS='='
_val=(${value})
param_value="${_val[0]}=${param_value}"
fi
new_params="${key}:${param_value}"
IFS=";"
cmd="sed -i '${line}s/.*/${new_params}/' '${filename}'"
......@@ -255,4 +251,4 @@ for batch_size in ${batch_size_list[*]}; do
fi
done
done
done
\ No newline at end of file
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment