We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Reed, In your code, there is "skipD", what does this mean? Is it a typo? (maybe conv is right) Thanks. -- state size: (ndf*8) x 4 x 4 local conc = nn.ConcatTable() local conv = nn.Sequential() conv:add(SpatialConvolution(ndf * 8, ndf * 2, 1, 1, 1, 1, 0, 0)) conv:add(SpatialBatchNormalization(ndf * 2)):add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 2, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 2)) conv:add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 8, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 8)) conc:add(nn.Identity()) conc:add(skipD) convD:add(conc) convD:add(nn.CAddTable())
-- state size: (ndf*8) x 4 x 4 local conc = nn.ConcatTable() local conv = nn.Sequential() conv:add(SpatialConvolution(ndf * 8, ndf * 2, 1, 1, 1, 1, 0, 0)) conv:add(SpatialBatchNormalization(ndf * 2)):add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 2, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 2)) conv:add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 8, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 8)) conc:add(nn.Identity()) conc:add(skipD) convD:add(conc) convD:add(nn.CAddTable())
The text was updated successfully, but these errors were encountered:
Hi,
I have the same question. Were you able to figure out what it was? I am guessing it is conv too.
Thanks!
Sorry, something went wrong.
No branches or pull requests
Hi Reed,
In your code, there is "skipD", what does this mean? Is it a typo? (maybe conv is right) Thanks.
-- state size: (ndf*8) x 4 x 4 local conc = nn.ConcatTable() local conv = nn.Sequential() conv:add(SpatialConvolution(ndf * 8, ndf * 2, 1, 1, 1, 1, 0, 0)) conv:add(SpatialBatchNormalization(ndf * 2)):add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 2, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 2)) conv:add(nn.LeakyReLU(0.2, true)) conv:add(SpatialConvolution(ndf * 2, ndf * 8, 3, 3, 1, 1, 1, 1)) conv:add(SpatialBatchNormalization(ndf * 8)) conc:add(nn.Identity()) conc:add(skipD) convD:add(conc) convD:add(nn.CAddTable())
The text was updated successfully, but these errors were encountered: