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

The meaning of beta and gamma in the code #12

Closed
madoka109 opened this issue Feb 24, 2022 · 4 comments
Closed

The meaning of beta and gamma in the code #12

madoka109 opened this issue Feb 24, 2022 · 4 comments

Comments

@madoka109
Copy link

parser.add_argument('--beta', default=1.0, type=float,
help='supervise loss weight')
parser.add_argument('--gamma', default=1.0, type=float,
help='paco loss')
I found these two parameters in the code, and they are used in losses.py, but I can't understand the using of them, are they mentioned in the paper?
If you can explain them to me, I will very appreciate on you, thank you!

@jiequancui
Copy link
Collaborator

jiequancui commented Feb 24, 2022

Hi,

Thanks for your question.

Please ignore the beta and gamma hyper-parameters. They are set to 1.0 in our all experiments.

The only meaningful hyper-parameter of paco loss is alpha which is described in our paper.

@madoka109
Copy link
Author

image

Thanks for your reply!
Besides, I have another question about c_y in above formula. What does c_y specifically mean?

@jiequancui
Copy link
Collaborator

Hi,

The c_y is a learnable sample for class y. The learnable samples are implemented with a linear fc weights.

@madoka109
Copy link
Author

I understand, Thanks!

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