Skip to content

Commit

Permalink
Update callbacks.py
Browse files Browse the repository at this point in the history
Signed-off-by: imyhxy <[email protected]>
  • Loading branch information
imyhxy authored Feb 22, 2024
1 parent 95ebf68 commit 207564d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Callbacks:
"""" Handles all registered callbacks for YOLOv5 Hooks."""
"""Handles all registered callbacks for YOLOv5 Hooks."""

def __init__(self):
# Define the available callbacks
Expand Down Expand Up @@ -47,7 +47,7 @@ def register_action(self, hook, name="", callback=None):

def get_registered_actions(self, hook=None):
"""
" Returns all the registered actions by callback hook.
Returns all the registered actions by callback hook.
Args:
hook: The name of the hook to check, defaults to all
Expand Down

0 comments on commit 207564d

Please sign in to comment.