Closed fate-extra closed 8 years ago
Original code:
-- Batch norm before merging -- line 40 seq:add(bn(conv_num)) -- line 41 cur_temp:add(bn(conv_num)) -- line 42
Maybe the code below could be better:
-- Batch norm before merging -- line 40 seq:add(bn(conv_num)) -- line 41 cur_temp:add(bn(conv_num*(i-1))) -- line 42
With this change, nn.SpatialBatchNormalization won't throw a error in CPU mode.
Wow, thanks a lot, what a disgrace...
Original code:
Maybe the code below could be better: