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
6c68808a
Unverified
Commit
6c68808a
authored
May 01, 2022
by
Double_V
Committed by
GitHub
May 01, 2022
Browse files
fix dml (#6067)
parent
77703f37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_dml.yml
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_dml.yml
+5
-5
No files found.
configs/det/ch_PP-OCRv2/ch_PP-OCRv2_det_dml.yml
View file @
6c68808a
...
...
@@ -37,7 +37,7 @@ Architecture:
Head
:
name
:
DBHead
k
:
50
Student2
:
Teacher
:
pretrained
:
./pretrain_models/MobileNetV3_large_x0_5_pretrained
freeze_params
:
false
return_all_feats
:
false
...
...
@@ -62,15 +62,15 @@ Loss:
loss_config_list
:
-
DistillationDMLLoss
:
model_name_pairs
:
-
[
"
Student"
,
"
Student2
"
]
-
[
"
Student"
,
"
Teacher
"
]
maps_name
:
"
thrink_maps"
weight
:
1.0
act
:
"
softmax"
model_name_pairs
:
[
"
Student"
,
"
Student2
"
]
model_name_pairs
:
[
"
Student"
,
"
Teacher
"
]
key
:
maps
-
DistillationDBLoss
:
weight
:
1.0
model_name_list
:
[
"
Student"
,
"
Student2
"
]
model_name_list
:
[
"
Student"
,
"
Teacher
"
]
# key: maps
name
:
DBLoss
balance_loss
:
true
...
...
@@ -94,7 +94,7 @@ Optimizer:
PostProcess
:
name
:
DistillationDBPostProcess
model_name
:
[
"
Student"
,
"
Student2
"
]
model_name
:
[
"
Student"
,
"
Teacher
"
]
key
:
head_out
thresh
:
0.3
box_thresh
:
0.6
...
...
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