Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarques committed Apr 20, 2023
1 parent c8b2db3 commit 2e81a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparseml/yolov8/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def __call__(self, trainer=None, model=None, training=True):
raise FileNotFoundError(
emojis(f"Dataset '{self.args.data}' not found ❌")
)
if isinstance(self.data['path'], str):
self.data['path'] = Path(self.data['path'])
if isinstance(self.data["path"], str):
self.data["path"] = Path(self.data["path"])

if self.device.type == "cpu":
self.args.workers = (
Expand Down

0 comments on commit 2e81a15

Please sign in to comment.