Dev (#118)
* update readme * remove optimizer * make parameters more explicit * add .autoenv * update dockerfile * fix paths * update configs * update train.py * fix test
This commit is contained in:
1 parent
42f8acddd0
commit
2dcbdcdaf9
27 files changed
+253
-165
No files matched your search
+1
-3
@@ -34,9 +34,7 @@ def train(config: DictConfig) -> Optional[float]:
|
||||
|
||||
# Init Lightning model
|
||||
log.info(f"Instantiating model <{config.model._target_}>")
|
||||
model: LightningModule = hydra.utils.instantiate(
|
||||
config.model, optimizer=config.optimizer, _recursive_=False
|
||||
)
|
||||
model: LightningModule = hydra.utils.instantiate(config.model)
|
||||
|
||||
# Init Lightning callbacks
|
||||
callbacks: List[Callback] = []
|
||||
|
||||
Reference in new issue
Block a user