Skip to content

discriminator error from noise #2

@LondaniZuma

Description

@LondaniZuma

Hi @luisguiserrano , thanks a lot about this friendly intro to GAN, it is really helpful. But I have a question about the code in the notebook where you calculate the error for discriminator. Use calculate the error using <errors_discriminator.append(sum(D.error_from_image(face) + D.error_from_noise(z)))>. When you calculate the error from noise you pass which is the random number, shouldn't you pass the noise generated by the generator i.e <G.forward(z)>. So the error for discriminator is <errors_discriminator.append(D.error_from_image(face) + D.error_from_noise(G.forward(z)))>??

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