We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa78c4f commit 274c90cCopy full SHA for 274c90c
pcdet/models/dense_heads/center_head.py
@@ -232,6 +232,7 @@ def get_loss(self):
232
for idx, pred_dict in enumerate(pred_dicts):
233
pred_dict['hm'] = self.sigmoid(pred_dict['hm'])
234
hm_loss = self.hm_loss_func(pred_dict['hm'], target_dicts['heatmaps'][idx])
235
+ hm_loss *= self.model_cfg.LOSS_CONFIG.LOSS_WEIGHTS['cls_weight']
236
237
target_boxes = target_dicts['target_boxes'][idx]
238
pred_boxes = torch.cat([pred_dict[head_name] for head_name in self.separate_head_cfg.HEAD_ORDER], dim=1)
0 commit comments