Skip to content

the LeakyReLU layer after dense1 #17

Description

@Walstruzz

Hi, thanks for your reimplementation. It is so elegant.

But I found that you have a LeakyReLU layer after dense1, which does not exist in the tensorflow implementation.

x = F.leaky_relu(self.dense1(x), 0.2, inplace=True)

https://github.com/NVlabs/stylegan/blob/66813a32aac5045fcde72751522a0c0ba963f6f2/training/networks_stylegan.py#L617

I think that adding activation after the last fully connected layer is not a good idea.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions