Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
59ab8171
Commit
59ab8171
authored
Feb 10, 2022
by
LDOUBLEV
Browse files
fix bug
parent
64edd41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+2
-6
No files found.
test_tipc/benchmark_train.sh
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment