moyanxinxu commited on
Commit
cf5ad51
1 Parent(s): 905c604

Update func.py

Browse files
Files changed (1) hide show
  1. func.py +1 -1
func.py CHANGED
@@ -179,7 +179,7 @@ def detect_and_track(
179
  frame,
180
  tracked_results,
181
  labels=[
182
- str(f"{model.config.id2label[label]}-{score:.2f}")
183
  for label, score in zip(labels, scores)
184
  ],
185
  mask_annotator=mask_annotator,
 
179
  frame,
180
  tracked_results,
181
  labels=[
182
+ str(f"{model.config.id2label[label]}:{score:.2f}")
183
  for label, score in zip(labels, scores)
184
  ],
185
  mask_annotator=mask_annotator,