MCPcopy Create free account
hub / github.com/42dot/VFDepth / __init__

Method __init__

models/base_model.py:9–15  ·  view source on GitHub ↗
(self, cfg)

Source from the content-addressed store, hash-verified

7
8class BaseModel:
9 def __init__(self, cfg):
10 self._dataloaders = {}
11 self.mode = None
12 self.models = None
13 self.optimizer = None
14 self.lr_scheduler = None
15 self.ddp_enable = False
16
17 def read_config(self, cfg):
18 raise NotImplementedError('Not implemented for BaseModel')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected