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
f2ebeae5
Commit
f2ebeae5
authored
Jan 19, 2021
by
WenmuZhou
Browse files
Delete useless comments
parent
30279833
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/modeling/transforms/tps.py
ppocr/modeling/transforms/tps.py
+1
-1
No files found.
ppocr/modeling/transforms/tps.py
View file @
f2ebeae5
...
@@ -217,7 +217,7 @@ class GridGenerator(nn.Layer):
...
@@ -217,7 +217,7 @@ class GridGenerator(nn.Layer):
paddle
.
arange
(
paddle
.
arange
(
-
I_r_width
,
I_r_width
,
2
,
dtype
=
'float64'
)
+
1.0
,
-
I_r_width
,
I_r_width
,
2
,
dtype
=
'float64'
)
+
1.0
,
paddle
.
to_tensor
(
paddle
.
to_tensor
(
I_r_width
,
dtype
=
'float64'
))
# / 2.2128224363981985e-08
I_r_width
,
dtype
=
'float64'
))
I_r_grid_y
=
paddle
.
divide
(
I_r_grid_y
=
paddle
.
divide
(
paddle
.
arange
(
paddle
.
arange
(
-
I_r_height
,
I_r_height
,
2
,
dtype
=
'float64'
)
+
1.0
,
-
I_r_height
,
I_r_height
,
2
,
dtype
=
'float64'
)
+
1.0
,
...
...
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