MCPcopy Create free account
hub / github.com/MultimediaTechLab/YOLO / __init__

Method __init__

yolo/tools/solver.py:69–72  ·  view source on GitHub ↗
(self, cfg: Config)

Source from the content-addressed store, hash-verified

67
68class TrainModel(ValidateModel):
69 def __init__(self, cfg: Config):
70 super().__init__(cfg)
71 self.cfg = cfg
72 self.train_loader = create_dataloader(self.cfg.task.data, self.cfg.dataset, self.cfg.task.task)
73
74 def setup(self, stage):
75 super().setup(stage)

Callers

nothing calls this directly

Calls 2

create_dataloaderFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected