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
857fd2e4
Commit
857fd2e4
authored
Oct 12, 2021
by
LDOUBLEV
Browse files
delete debug
parent
9f135336
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
tests/debug.sh
tests/debug.sh
+0
-16
No files found.
tests/debug.sh
deleted
100644 → 0
View file @
9f135336
#!/bin/bash
FILENAME
=
$1
# MODE be one of ['lite_train_infer' 'whole_infer' 'whole_train_infer', 'infer', 'cpp_infer', 'serving_infer']
MODE
=
$2
if
[
${
MODE
}
=
"cpp_infer"
]
;
then
dataline
=
$(
awk
'NR==52, NR==66{print}'
$FILENAME
)
elif
[
${
MODE
}
=
"serving_infer"
]
;
then
dataline
=
$(
awk
'NR==67, NR==81{print}'
$FILENAME
)
else
dataline
=
$(
awk
'NR==1, NR==51{print}'
$FILENAME
)
fi
count
=
0
for
line
in
${
dataline
[*]
}
;
do
let
count++
echo
$count
$line
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