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
443de015
Commit
443de015
authored
Jan 07, 2022
by
WenmuZhou
Browse files
fux bug
parent
d6afe165
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/optimizer/regularizer.py
ppocr/optimizer/regularizer.py
+1
-1
No files found.
ppocr/optimizer/regularizer.py
View file @
443de015
...
...
@@ -45,7 +45,7 @@ class L2Decay(object):
def
__init__
(
self
,
factor
=
0.0
):
super
(
L2Decay
,
self
).
__init__
()
self
.
coeff
=
factor
self
.
coeff
=
float
(
factor
)
def
__call__
(
self
):
return
self
.
coeff
\ No newline at end of file
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