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

Method __init__

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

Source from the content-addressed store, hash-verified

109
110class InferenceModel(BaseModel):
111 def __init__(self, cfg: Config):
112 super().__init__(cfg)
113 self.cfg = cfg
114 # TODO: Add FastModel
115 self.predict_loader = create_dataloader(cfg.task.data, cfg.dataset, cfg.task.task)
116
117 def setup(self, stage):
118 self.vec2box = create_converter(

Callers

nothing calls this directly

Calls 2

create_dataloaderFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected