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
83149576
"vscode:/vscode.git/clone" did not exist on "1edd0debaa3103e0dc230551c36e22ff60a56af4"
Commit
83149576
authored
Jun 08, 2021
by
LDOUBLEV
Browse files
remove img_dir from params.txt
parent
a1494515
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
test/params.txt
test/params.txt
+1
-2
test/test.sh
test/test.sh
+3
-4
No files found.
test/params.txt
View file @
83149576
train_model_list: ocr_det
gpu_list: -1|0|0,1
auto_cast_list: False
|True
auto_cast_list: False
trainer_list: norm|quant|prune
python: python3.7
...
...
@@ -11,7 +11,6 @@ cpu_threads_list: 1|6
rec_batch_size_list: 1|6
gpu_trt_list: True|False
gpu_precision_list: fp32|fp16|int8
img_dir: /paddle/OCR/test_set/benchmark_eval
epoch: 10
checkpoints: None
...
...
test/test.sh
View file @
83149576
...
...
@@ -50,11 +50,10 @@ cpu_threads_list=$(func_parser "${lines[8]}")
rec_batch_size_list
=
$(
func_parser
"
${
lines
[9]
}
"
)
gpu_trt_list
=
$(
func_parser
"
${
lines
[10]
}
"
)
gpu_precision_list
=
$(
func_parser
"
${
lines
[11]
}
"
)
img_dir
=
$(
func_parser
"
${
lines
[12]
}
"
)
img_dir
=
"./train_data/icdar2015/text_localization/ch4_test_images/"
# train superparameters
epoch
=
$(
func_parser
"
${
lines
[1
3
]
}
"
)
checkpoints
=
$(
func_parser
"
${
lines
[1
4
]
}
"
)
epoch
=
$(
func_parser
"
${
lines
[1
2
]
}
"
)
checkpoints
=
$(
func_parser
"
${
lines
[1
3
]
}
"
)
for
train_model
in
${
train_model_list
[*]
}
;
do
...
...
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