ultralytics 8.0.29 DDP-cls and default arg fixes (#813)
This commit is contained in:
parent
21ae321bc2
commit
7a7c8dc7b7
9 changed files with 38 additions and 38 deletions
|
|
@ -457,7 +457,7 @@ class BaseTrainer:
|
|||
def get_validator(self):
|
||||
raise NotImplementedError("get_validator function not implemented in trainer")
|
||||
|
||||
def get_dataloader(self, dataset_path, batch_size=16, rank=0):
|
||||
def get_dataloader(self, dataset_path, batch_size=16, rank=0, mode="train"):
|
||||
"""
|
||||
Returns dataloader derived from torch.data.Dataloader.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue