Skip to content

Commit

Permalink
🎨 Format Python code with psf/black
Browse files Browse the repository at this point in the history
  • Loading branch information
codingwithsurya authored and github-actions committed Oct 13, 2023
1 parent ce571e4 commit 9ab1b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions training/training/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def createTrainDataset(self) -> DataLoader:
shuffle=self.shuffle,
drop_last=True,
)
self.delete_datasets_from_directory() # Delete datasets after loading
self.delete_datasets_from_directory() # Delete datasets after loading
return train_loader

def createTestDataset(self) -> DataLoader:
Expand All @@ -190,7 +190,7 @@ def createTestDataset(self) -> DataLoader:
shuffle=self.shuffle,
drop_last=True,
)
self.delete_datasets_from_directory() # Delete datasets after loading
self.delete_datasets_from_directory() # Delete datasets after loading
return test_loader

def getCategoryList(self) -> list[str]:
Expand Down

0 comments on commit 9ab1b12

Please sign in to comment.