Skip to content

Commit

Permalink
adjust head parameters to changes in NN Archive
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbmrz committed Mar 14, 2024
1 parent 5e59c3a commit 55c74e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions luxonis_train/core/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,10 @@ def _get_head_specific_parameters(
parameters["iou_threshold"] = head_node.iou_thres
parameters["conf_threshold"] = head_node.conf_thres
parameters["max_det"] = head_node.max_det
# head_outputs["n_keypoints"] # TODO: implement
# head_outputs["n_prototypes"] # TODO: implement
# head_outputs["prototype_output_name"] # TODO: implement
elif head_name in ["SegmentationHead", "BiSeNetHead"]:
parameters["is_softmax"] = self._is_softmax(executable_path)
elif head_name == "ImplicitKeypointBBoxHead":
pass
parameters["n_keypoints"] = self.dataset_metadata._n_keypoints
else:
raise ValueError("Unknown head name")
return parameters
Expand Down

0 comments on commit 55c74e9

Please sign in to comment.