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

Why cov4 layer is repeated 2 times in VGG module ? #2

Closed
fazlerabbitanjil opened this issue May 29, 2017 · 1 comment
Closed

Why cov4 layer is repeated 2 times in VGG module ? #2

fazlerabbitanjil opened this issue May 29, 2017 · 1 comment

Comments

@fazlerabbitanjil
Copy link

I am a beginner in ANN and I am working on your paper on style transfer.

But I have a question regarding defining VGG module. Why there is layer4 is repeated 2 times? (Check below code)
Thanks in advance.

    self.conv4_1 = nn.Conv2d(256, 512, kernel_size=3, padding=1)
      self.conv4_2 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
      self.conv4_3 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
      self.conv4_4 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
      self.conv4_1 = nn.Conv2d(256, 512, kernel_size=3, padding=1)
      self.conv4_2 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
      self.conv4_3 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
      self.conv4_4 = nn.Conv2d(512, 512, kernel_size=3, padding=1)
@leongatys
Copy link
Owner

That is indeed unnecessary!
Thanks for spotting it, I fixed it c7bc488

Best
Leon

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