Skip to content

Commit

Permalink
Update DBCNN.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zwx8981 authored Mar 7, 2019
1 parent c5ebf79 commit 500623e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBCNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def forward(self, X):
W2 = X2.size()[3]
assert X2.size()[1] == 128

if H != H2 | W != W2:
if (H != H2) | (W != W2):
X2 = F.upsample_bilinear(X2,(H,W))

X1 = X1.view(N, 512, H*W)
Expand Down Expand Up @@ -343,4 +343,4 @@ def main():


if __name__ == '__main__':
main()
main()

0 comments on commit 500623e

Please sign in to comment.