Skip to content

Commit a5545bb

Browse files
committed
fix cnn bug
1 parent b3ed317 commit a5545bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04-Convolutional Neural Network/convolution_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def forward(self, x):
120120
img = Variable(img, volatile=True).cuda()
121121
label = Variable(label, volatile=True).cuda()
122122
else:
123-
img = Variabel(img, volatile=True)
123+
img = Variable(img, volatile=True)
124124
label = Variable(label, volatile=True)
125125
out = model(img)
126126
loss = criterion(out, label)

0 commit comments

Comments
 (0)