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

为什么还要交换再去取一次损失呢?,论文没找到这个做法呢 #31

Open
cqray1990 opened this issue Aug 26, 2024 · 0 comments

Comments

@cqray1990
Copy link

swap pt

pred_dis2 = torch.cat((pred_dis[:, 2:, :, :], pred_dis[:, :2, :, :]), dim=1)
displacement_loss2 = F.smooth_l1_loss(pred_dis2, gt_dis, reduction='none').sum(axis=[1])
displacement_loss = displacement_loss1.min(displacement_loss2)
@cqray1990 cqray1990 changed the title 为什么还要交换再去一次损失呢?,论文没找到这个做法呢 为什么还要交换再去取一次损失呢?,论文没找到这个做法呢 Aug 27, 2024
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