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

About training loss in paper and implementation #10

Open
SuwoongHeo opened this issue Jun 7, 2022 · 0 comments
Open

About training loss in paper and implementation #10

SuwoongHeo opened this issue Jun 7, 2022 · 0 comments

Comments

@SuwoongHeo
Copy link

Hi,

In the paper, you said that the pretaining is conducted with the supervision of blend weights only (wgt in the below code). However, there are several losses except the skinning weight loss named diff_can and spr_wgt.

loss_dict['wgt'] = weight_loss
loss_dict['diff_can'] = (diff_can +diff_can_bp)/2.0
loss_dict['spr_wgt'] = spr_wgt
#total_loss = weight_loss + self.loss_weight['diff_can']*loss_dict['diff_can']
total_loss = weight_loss + self.loss_weight['diff_can']*loss_dict['diff_can'] + self.loss_weight['diff_can']**loss_dict['spr_wgt']

The definition of diff_can is obvious but spr_wgt defined below is hard to understand for me. Could you give me an explanation about what this loss means or any reference related to this loss?

spr_wgt = (weight_pred.abs() + 1e-12).pow(0.8).sum(1).mean() + (
weight_smpl.abs() + 1e-12).pow(0.8).sum(1).mean()

Thanks in advance :)

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

1 participant