Skip to content

Reward calculated for training Generator? #26

@FYYFU

Description

@FYYFU

In the train_AREL.py. When calculate the Reward for training the generator:

rewards = Variable(gen_score.data - 0 * normed_seq_log_probs.data)

why you minus the 0 * normed_seq_log_probs.data? in the commit history, i notice you use the 0.0001 * normed_seq_log_probs.data.

In the original paper, i think it corresponding to the Eq(9) and the normed_seq_log_probs might be the log π(W), so the coefficient should be 1. Could you tell me your reason?

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