Skip to content

ask for complement zero operation #6

@ElroyLR

Description

@ElroyLR

Hello, I have run your code, and I noticed that when you pretrain the generator, you prepend a zero matrix to the data and append a zero matrix to the target. I wonder what is the purpose of this operation and how it affects the NLL loss calculation. Also, in your adversarial training, when you use policy gradient for the generator, you still add zeros, but this time, you only replace the first element of the data (which is called ‘input’ in your function) with zero. Could you please explain these questions for me?

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