Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 2e81a15

Browse files
committed
Style fixes
1 parent c8b2db3 commit 2e81a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sparseml/yolov8/validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def __call__(self, trainer=None, model=None, training=True):
8888
raise FileNotFoundError(
8989
emojis(f"Dataset '{self.args.data}' not found ❌")
9090
)
91-
if isinstance(self.data['path'], str):
92-
self.data['path'] = Path(self.data['path'])
91+
if isinstance(self.data["path"], str):
92+
self.data["path"] = Path(self.data["path"])
9393

9494
if self.device.type == "cpu":
9595
self.args.workers = (

0 commit comments

Comments
 (0)