Skip to content

Commit bde515f

Browse files
committed
Fix epoch number
1 parent db60278 commit bde515f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chebai/models/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ def run(
211211
trainer = pl.Trainer(
212212
logger=tb_logger,
213213
min_epochs=epochs,
214+
max_epochs=epochs,
214215
callbacks=[best_checkpoint_callback, checkpoint_callback, es],
215216
replace_sampler_ddp=False,
216217
**trainer_kwargs

0 commit comments

Comments
 (0)