Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Egrt committed Feb 7, 2023
1 parent 0f81b03 commit a4aed57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def on_epoch_end(self, epoch, model_eval):
#------------------------------#
# 获得预测框
#------------------------------#
gt_boxes = np.array([np.array(list(map(int,box.split(',')))) for box in line[1:]])
gt_boxes = np.array([np.array(list(map(float,box.split(',')))) for box in line[1:]])
#------------------------------#
# 将polygon转换为hbb
#------------------------------#
Expand Down

0 comments on commit a4aed57

Please sign in to comment.