You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 278: losses['loss_point'] = loss_bbox.sum() / num_points
Line 335: weight_dict = {'loss_ce': 1, 'loss_points': args.point_loss_coef}
one is "loss_points" and another is "loss_point" (an "s" is different) ! This would cause that the point loss is actually not used, which is fully wrong!
The text was updated successfully, but these errors were encountered:
zhiyuanyou
changed the title
[Bug]: key wrong in weight_dict & losses
[Bug]: key error in weight_dict & losses
Dec 14, 2022
In
models/p2pnet.py
:Line 278:
losses['loss_point'] = loss_bbox.sum() / num_points
Line 335:
weight_dict = {'loss_ce': 1, 'loss_points': args.point_loss_coef}
one is "loss_points" and another is "loss_point" (an "s" is different) ! This would cause that the point loss is actually not used, which is fully wrong!
The text was updated successfully, but these errors were encountered: