Skip to content

Commit

Permalink
Fix jumping to line
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoDCC committed May 8, 2024
1 parent 90920b7 commit 716b3cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def threhold_check(self, dist: List[float], labelling: List[str], labels: List[s
rospy.loginfo(f"distances are {dist} and labels are {labelling}")
if dis > threshold:
labelling[idx] = labels[idx] # you can always condider the last label or something similar
rospy.loginfo(f"Distance is >1 so assign new label: {self._trained_faces[-1].get_label()},
rospy.loginfo(f"Distance is >1 so assign new label: {self._trained_faces[-1].get_label()}, \
Representations: {len(self._trained_faces[-1].get_representations())}")
else:
rospy.loginfo(f"Distance is <1 so no new label is needed")
Expand Down

0 comments on commit 716b3cb

Please sign in to comment.