diff --git a/utils/callbacks.py b/utils/callbacks.py index ab7befd..f658a72 100644 --- a/utils/callbacks.py +++ b/utils/callbacks.py @@ -5,7 +5,7 @@ import threading class Callbacks: - """" Handles all registered callbacks for YOLOv5 Hooks.""" + """Handles all registered callbacks for YOLOv5 Hooks.""" def __init__(self): # Define the available callbacks @@ -47,7 +47,7 @@ class Callbacks: 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 diff --git a/utils/general.py b/utils/general.py index 4ba80ce..aa2ed6e 100644 --- a/utils/general.py +++ b/utils/general.py @@ -34,7 +34,7 @@ import torch import torchvision import yaml -# Import 'ultralytics' package or install if if missing +# Import 'ultralytics' package or install if missing try: import ultralytics