Skip to content
New issue

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

What is skipD in main_cls.lua and main_cls_int.lua? #5

Open
xinmei9322 opened this issue Aug 22, 2016 · 1 comment
Open

What is skipD in main_cls.lua and main_cls_int.lua? #5

xinmei9322 opened this issue Aug 22, 2016 · 1 comment

Comments

@xinmei9322
Copy link

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())

@vasavig
Copy link

vasavig commented Oct 6, 2016

Hi,

I have the same question. Were you able to figure out what it was? I am guessing it is conv too.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants