Skip to content

Commit

Permalink
fix fully connected layer in cnn_model
Browse files Browse the repository at this point in the history
  • Loading branch information
nagadomi committed Aug 23, 2014
1 parent 2e7c0fa commit 1cc9077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cnn_model.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function cnn_model() -- validate.lua Acc: 0.88

-- fully connected layers
model:add(nn.SpatialConvolutionMM(512, 1024, 2, 2, 1, 1))
model:add(nn.ReLU())
model:add(nn.Dropout(0.5))
model:add(nn.SpatialConvolutionMM(1024, 10, 1, 1, 1, 1))

Expand Down

0 comments on commit 1cc9077

Please sign in to comment.