Skip to content

Commit

Permalink
fix ReLU
Browse files Browse the repository at this point in the history
  • Loading branch information
liouxy committed Nov 25, 2017
1 parent 48bb908 commit bf2d20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self):
)

self.conv_output = nn.Conv2d(in_channels=64, out_channels=4, kernel_size=3, stride=1, padding=1)
self.relu = nn.Relu()
self.relu = nn.ReLU()

for m in self.modules():
if isinstance(m, nn.Conv2d):
Expand Down

0 comments on commit bf2d20d

Please sign in to comment.