Simplify argument names (#141)
This commit is contained in:
parent
d74de2582c
commit
3c18aa5278
9 changed files with 22 additions and 24 deletions
|
|
@ -102,7 +102,7 @@ class BaseTrainer:
|
|||
yaml_save(self.save_dir / 'args.yaml', OmegaConf.to_container(self.args, resolve=True)) # save run args
|
||||
self.last, self.best = self.wdir / 'last.pt', self.wdir / 'best.pt' # checkpoint paths
|
||||
|
||||
self.batch_size = self.args.batch_size
|
||||
self.batch_size = self.args.batch
|
||||
self.epochs = self.args.epochs
|
||||
self.start_epoch = 0
|
||||
if RANK == -1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue