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
c93aba2d
Commit
c93aba2d
authored
Jul 06, 2021
by
LDOUBLEV
Browse files
fix slim export model error
parent
917118ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
deploy/slim/quantization/export_model.py
deploy/slim/quantization/export_model.py
+1
-1
test/ocr_det_params.txt
test/ocr_det_params.txt
+1
-1
No files found.
deploy/slim/quantization/export_model.py
View file @
c93aba2d
...
...
@@ -101,7 +101,7 @@ def main():
quanter
=
QAT
(
config
=
quant_config
)
quanter
.
quantize
(
model
)
init_model
(
config
,
model
,
logger
)
init_model
(
config
,
model
)
model
.
eval
()
# build metric
...
...
test/ocr_det_params.txt
View file @
c93aba2d
...
...
@@ -17,7 +17,7 @@ distill_train:null
eval:tools/eval.py -c configs/det/det_mv3_db.yml -o
Global.save_inference_dir:./output/
Global.
checkpoints
:
Global.
pretrained_model
:
norm_export:tools/export_model.py -c configs/det/det_mv3_db.yml -o
quant_export:deploy/slim/quantization/export_model.py -c configs/det/det_mv3_db.yml -o
fpgm_export:deploy/slim/prune/export_prune_model.py
...
...
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