diff --git a/ultralytics/yolo/engine/trainer.py b/ultralytics/yolo/engine/trainer.py index bcb64f5..ac9770a 100644 --- a/ultralytics/yolo/engine/trainer.py +++ b/ultralytics/yolo/engine/trainer.py @@ -86,7 +86,8 @@ class BaseTrainer: for callback, func in callbacks.default_callbacks.items(): self.add_callback(callback, func) - callbacks.add_integration_callbacks(self) + if RANK in {0, -1}: + callbacks.add_integration_callbacks(self) def add_callback(self, onevent: str, callback): """