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

Questions about hyperparameter λ #20

Open
abcsimple opened this issue Jun 7, 2023 · 1 comment
Open

Questions about hyperparameter λ #20

abcsimple opened this issue Jun 7, 2023 · 1 comment

Comments

@abcsimple
Copy link

Hi! Your work is fantastic! I have two questions regarding the hyperparameter λ:

According to Formula 1, λ should start at 0 and end at 1 during the training process. However, in the "Training Details" section (the final section of the paper), it says that "The λ in Equ. 1 is linearly decayed from 1 to 0 on epoch 0 and 100". Which explanation is correct?

When λ approaches 0, did you use ‘torch.nn.functional.leaky_relu(x, 0)’ to represent y=x? This is a brilliant idea, but it's hard to notice.

@HantingChen
Copy link
Collaborator

Sorry for the mistake. The λ in Equ. 1 should be linearly increased from 0 to 1 on epoch 0 and 100. We will fix this typo. Besides, we do use ‘torch.nn.functional.leaky_relu(x, 0)’ to represent y=x, we will add remark to make the code easy to read. Thanks for the suggestions!

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