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
5492c10a
"doc/vscode:/vscode.git/clone" did not exist on "62193fad59d458665ddaaac1bf37a9c01acf59c4"
Commit
5492c10a
authored
Apr 24, 2022
by
LDOUBLEV
Browse files
fix comments
parent
c7131fec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml
+2
-2
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml
+1
-2
ppocr/modeling/heads/det_db_head.py
ppocr/modeling/heads/det_db_head.py
+1
-1
ppocr/modeling/necks/db_fpn.py
ppocr/modeling/necks/db_fpn.py
+1
-1
No files found.
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_cml.yml
View file @
5492c10a
...
...
@@ -4,12 +4,11 @@ Global:
epoch_num
:
500
log_smooth_window
:
20
print_batch_step
:
10
save_model_dir
:
./output/ch_PP-OCR_
V3
/
save_model_dir
:
./output/ch_PP-OCR_
v3_det
/
save_epoch_step
:
100
eval_batch_step
:
-
0
-
400
load_static_weights
:
false
cal_metric_during_train
:
false
pretrained_model
:
null
checkpoints
:
null
...
...
@@ -137,6 +136,7 @@ Train:
img_mode
:
BGR
channel_first
:
false
-
DetLabelEncode
:
null
-
CopyPaste
:
-
IaaAugment
:
augmenter_args
:
-
type
:
Fliplr
...
...
configs/det/ch_PP-OCRv3/ch_PP-OCRv3_det_student.yml
View file @
5492c10a
...
...
@@ -4,12 +4,11 @@ Global:
epoch_num
:
500
log_smooth_window
:
20
print_batch_step
:
10
save_model_dir
:
./output/ch_PP-OCR_V3/
save_model_dir
:
./output/ch_PP-OCR_V3
_det
/
save_epoch_step
:
100
eval_batch_step
:
-
0
-
400
load_static_weights
:
false
cal_metric_during_train
:
false
pretrained_model
:
null
checkpoints
:
null
...
...
ppocr/modeling/heads/det_db_head.py
View file @
5492c10a
...
...
@@ -66,7 +66,7 @@ class Head(nn.Layer):
self
.
conv3
=
nn
.
Conv2DTranspose
(
in_channels
=
in_channels
//
4
,
out_channels
=
1
,
kernel_size
=
kernel_size
[
1
],
kernel_size
=
kernel_size
[
2
],
stride
=
2
,
weight_attr
=
ParamAttr
(
initializer
=
paddle
.
nn
.
initializer
.
KaimingUniform
()),
...
...
ppocr/modeling/necks/db_fpn.py
View file @
5492c10a
...
...
@@ -20,7 +20,7 @@ import paddle
from
paddle
import
nn
import
paddle.nn.functional
as
F
from
paddle
import
ParamAttr
import
os
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'../../..'
)))
...
...
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