This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Xception model | |
-- a Torch7 implementation of: https://arxiv.org/abs/1610.02357 | |
-- E. Culurciello, October 2016 | |
require 'nn' | |
local nClasses = 1000 | |
function nn.SpatialSeparableConvolution(nInputPlane, nOutputPlane, kW, kH) | |
local block = nn.Sequential() | |
block:add(nn.SpatialConvolutionMap(nn.tables.oneToOne(nInputPlane), kW,kH, 1,1, 1,1)) |