Skip to content

Commit

Permalink
Update evaluate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-ecm authored Aug 14, 2023
1 parent e730eef commit cd39b82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ def main(_argv):
for i in range(valid_detections[0]):
curr_pred_row = {
'ImageID':FLAGS.path_to_append_filename+image_name,
'LabelName': label_map[int(classes[0][i])],
# 'LabelName': label_map[int(classes[0][i])],
'LabelName': int(classes[0][i]),
'Conf':scores[0][i] ,
'XMin':boxes[0][i][1] ,
'XMax':boxes[0][i][3] ,
Expand Down

0 comments on commit cd39b82

Please sign in to comment.