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

How to use the code to adjust the weight of each loss? #2

Open
zhoufengfan opened this issue Dec 19, 2020 · 2 comments
Open

How to use the code to adjust the weight of each loss? #2

zhoufengfan opened this issue Dec 19, 2020 · 2 comments

Comments

@zhoufengfan
Copy link

If the loss function is:

loss=weight[0]*loss[0]+weight[1]*loss[1]+weight[2]*loss[2]+...+weight[n]*loss[n]

and the sum of each element in weight list is 1.
Then how to use the code to adjust the weight of each loss?

Thanks.

@XinyuanWang283
Copy link

Hello ,have you solved this problem?

@zhoufengfan
Copy link
Author

Hello ,have you solved this problem?

No, I haven't.

If you have solved the problem, you can add your method to solve the problem in this issue.

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