Skip to content

Commit

Permalink
add typed function sig for run_detector
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAndJef committed Jul 4, 2023
1 parent 9e61877 commit a8bb4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def draw_bboxes(image, detections):
return image


def run_detector(model, args):
def run_detector(model: footandball.FootAndBall, args: argparse.Namespace):
model.print_summary(show_architecture=False)
model = model.to(args.device)

Expand Down

0 comments on commit a8bb4a5

Please sign in to comment.