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
OpenDAS
vision
Commits
6cd90e6e
You need to sign in or sign up before continuing.
Unverified
Commit
6cd90e6e
authored
Nov 15, 2019
by
eellison
Committed by
GitHub
Nov 15, 2019
Browse files
fix resnext (#1575)
parent
44a5bae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
torchvision/models/segmentation/deeplabv3.py
torchvision/models/segmentation/deeplabv3.py
+2
-1
No files found.
torchvision/models/segmentation/deeplabv3.py
View file @
6cd90e6e
...
@@ -57,7 +57,8 @@ class ASPPPooling(nn.Sequential):
...
@@ -57,7 +57,8 @@ class ASPPPooling(nn.Sequential):
def
forward
(
self
,
x
):
def
forward
(
self
,
x
):
size
=
x
.
shape
[
-
2
:]
size
=
x
.
shape
[
-
2
:]
x
=
super
(
ASPPPooling
,
self
).
forward
(
x
)
for
mod
in
self
:
x
=
mod
(
x
)
return
F
.
interpolate
(
x
,
size
=
size
,
mode
=
'bilinear'
,
align_corners
=
False
)
return
F
.
interpolate
(
x
,
size
=
size
,
mode
=
'bilinear'
,
align_corners
=
False
)
...
...
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