CrowdCounting-P2PNet icon indicating copy to clipboard operation
CrowdCounting-P2PNet copied to clipboard

did point loss contributes to total loss?

Open Tracyummy opened this issue 2 years ago • 1 comments

I found loss_dict_reduced_scaled = {k: v * weight_dict[k] for k, v in loss_dict_reduced.items() if k in weight_dict} the key in weight_dict and loss_dict_reduced is not consistent with each other. one is loss_point, the other is ;oss_points.

Tracyummy avatar Apr 27 '22 14:04 Tracyummy

I found that too, and I fixed it by adopting both loss items.

dddddasda avatar Aug 20 '23 13:08 dddddasda