Visitar URL original
Plot detector's bboxes if Top-Down architecture by maximpavliv · Pull Request #2791 · DeepLabCut/DeepLabCut · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo
Co-authored-by: n-poulsen <45132115+n-poulsen@users.noreply.github.com>
  • Loading branch information
maximpavliv and n-poulsen committed Dec 13, 2024
commit 74bab25fb87d6e2c765c9a04547a08078e5a731c
2 changes: 1 addition & 1 deletion deeplabcut/pose_estimation_pytorch/apis/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def visualize_predictions(
bbox_scores = predictions[image_path].get("bbox_scores", None)
bounding_boxes = (
(bboxes, bbox_scores)
if bbox_scores is not None and bbox_scores is not None
if bboxes is not None and bbox_scores is not None
else None
)
else:
Expand Down