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
6335209b
"ppocr/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "5876f3f4751975f5a5ca37e57f34f09fd8e940bf"
Commit
6335209b
authored
Oct 28, 2021
by
LDOUBLEV
Browse files
rename
parent
ec683abd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
test_tipc/test_inference_cpp.sh
test_tipc/test_inference_cpp.sh
+2
-2
test_tipc/test_serving.sh
test_tipc/test_serving.sh
+3
-3
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+1
-1
No files found.
test_tipc/test_inference_cpp.sh
View file @
6335209b
#!/bin/bash
#!/bin/bash
source
test
s
/common_func.sh
source
test
_tipc
/common_func.sh
FILENAME
=
$1
FILENAME
=
$1
dataline
=
$(
awk
'NR==52, NR==66{print}'
$FILENAME
)
dataline
=
$(
awk
'NR==52, NR==66{print}'
$FILENAME
)
...
@@ -35,7 +35,7 @@ cpp_benchmark_key=$(func_parser_key "${lines[14]}")
...
@@ -35,7 +35,7 @@ cpp_benchmark_key=$(func_parser_key "${lines[14]}")
cpp_benchmark_value
=
$(
func_parser_value
"
${
lines
[14]
}
"
)
cpp_benchmark_value
=
$(
func_parser_value
"
${
lines
[14]
}
"
)
LOG_PATH
=
"./test
s
/output"
LOG_PATH
=
"./test
_tipc
/output"
mkdir
-p
${
LOG_PATH
}
mkdir
-p
${
LOG_PATH
}
status_log
=
"
${
LOG_PATH
}
/results_cpp.log"
status_log
=
"
${
LOG_PATH
}
/results_cpp.log"
...
...
test_tipc/test_serving.sh
View file @
6335209b
#!/bin/bash
#!/bin/bash
source
PTDN
/common_func.sh
source
test_tipc
/common_func.sh
FILENAME
=
$1
FILENAME
=
$1
dataline
=
$(
awk
'NR==67, NR==83{print}'
$FILENAME
)
dataline
=
$(
awk
'NR==67, NR==83{print}'
$FILENAME
)
...
@@ -36,8 +36,8 @@ web_precision_key=$(func_parser_key "${lines[15]}")
...
@@ -36,8 +36,8 @@ web_precision_key=$(func_parser_key "${lines[15]}")
web_precision_list
=
$(
func_parser_value
"
${
lines
[15]
}
"
)
web_precision_list
=
$(
func_parser_value
"
${
lines
[15]
}
"
)
pipeline_py
=
$(
func_parser_value
"
${
lines
[16]
}
"
)
pipeline_py
=
$(
func_parser_value
"
${
lines
[16]
}
"
)
LOG_PATH
=
"../../
PTDN
/output"
LOG_PATH
=
"../../
test_tipc
/output"
mkdir
-p
./
PTDN
/output
mkdir
-p
./
test_tipc
/output
status_log
=
"
${
LOG_PATH
}
/results_serving.log"
status_log
=
"
${
LOG_PATH
}
/results_serving.log"
function
func_serving
(){
function
func_serving
(){
...
...
test_tipc/test_train_inference_python.sh
View file @
6335209b
...
@@ -120,7 +120,7 @@ if [ ${MODE} = "klquant_whole_infer" ]; then
...
@@ -120,7 +120,7 @@ if [ ${MODE} = "klquant_whole_infer" ]; then
infer_value1
=
$(
func_parser_value
"
${
lines
[15]
}
"
)
infer_value1
=
$(
func_parser_value
"
${
lines
[15]
}
"
)
fi
fi
LOG_PATH
=
"./test
s
/output"
LOG_PATH
=
"./test
_tipc
/output"
mkdir
-p
${
LOG_PATH
}
mkdir
-p
${
LOG_PATH
}
status_log
=
"
${
LOG_PATH
}
/results_python.log"
status_log
=
"
${
LOG_PATH
}
/results_python.log"
...
...
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