Skip to content

Commit b86fba7

Browse files
committed
style(log): 忽略
1 parent 8869d9e commit b86fba7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/lib/models/multi_part_loss.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ def forward(self, preds, targets):
7878

7979
top_target_confidences = target_confidences[range(top_len), top_idxs]
8080
top_target_bboxs = target_bboxs[range(top_len), top_idxs]
81-
print(top_pred_confidences.shape)
82-
print(top_pred_bboxs.shape)
81+
# print(top_pred_confidences.shape)
82+
# print(top_pred_bboxs.shape)
8383

8484
# 选取存在目标的网格
8585
obj_idxs = torch.sum(target_probs, dim=1) == 1
86-
print(obj_idxs)
86+
# print(obj_idxs)
8787

8888
obj_pred_confidences = top_pred_confidences[obj_idxs]
8989
obj_pred_bboxs = top_pred_bboxs[obj_idxs]

0 commit comments

Comments
 (0)