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
008876d4
Commit
008876d4
authored
Oct 13, 2021
by
LDOUBLEV
Browse files
add copy paste and fix bug
parent
27f3f738
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_cml.yml
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_cml.yml
+1
-0
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_distill.yml
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_distill.yml
+2
-2
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_dml.yml
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_dml.yml
+1
-0
No files found.
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_cml.yml
View file @
008876d4
...
@@ -141,6 +141,7 @@ Train:
...
@@ -141,6 +141,7 @@ Train:
img_mode
:
BGR
img_mode
:
BGR
channel_first
:
False
channel_first
:
False
-
DetLabelEncode
:
# Class handling label
-
DetLabelEncode
:
# Class handling label
-
CopyPaste
:
-
IaaAugment
:
-
IaaAugment
:
augmenter_args
:
augmenter_args
:
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
...
...
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_distill.yml
View file @
008876d4
...
@@ -68,8 +68,7 @@ Loss:
...
@@ -68,8 +68,7 @@ Loss:
ohem_ratio
:
3
ohem_ratio
:
3
-
DistillationDBLoss
:
-
DistillationDBLoss
:
weight
:
1.0
weight
:
1.0
model_name_list
:
[
"
Student"
,
"
Teacher"
]
model_name_list
:
[
"
Student"
]
# key: maps
name
:
DBLoss
name
:
DBLoss
balance_loss
:
true
balance_loss
:
true
main_loss_type
:
DiceLoss
main_loss_type
:
DiceLoss
...
@@ -116,6 +115,7 @@ Train:
...
@@ -116,6 +115,7 @@ Train:
img_mode
:
BGR
img_mode
:
BGR
channel_first
:
False
channel_first
:
False
-
DetLabelEncode
:
# Class handling label
-
DetLabelEncode
:
# Class handling label
-
CopyPaste
:
-
IaaAugment
:
-
IaaAugment
:
augmenter_args
:
augmenter_args
:
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
...
...
configs/det/ch_PP-OCRv2/ch_PP-OCR_det_dml.yml
View file @
008876d4
...
@@ -118,6 +118,7 @@ Train:
...
@@ -118,6 +118,7 @@ Train:
img_mode
:
BGR
img_mode
:
BGR
channel_first
:
False
channel_first
:
False
-
DetLabelEncode
:
# Class handling label
-
DetLabelEncode
:
# Class handling label
-
CopyPaste
:
-
IaaAugment
:
-
IaaAugment
:
augmenter_args
:
augmenter_args
:
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
-
{
'
type'
:
Fliplr
,
'
args'
:
{
'
p'
:
0.5
}
}
...
...
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