Skip to content

Commit

Permalink
Update stage3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh0520 authored Apr 2, 2024
1 parent 872993c commit db880a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stage3.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def main(args):
logger=logger,
)

if args.mode.find('pretrain') >= 0:
if args.mode.find('train') >= 0:
trainer.fit(model, datamodule=dm)
trainer.test(model, datamodule=dm)
elif args.mode.find('eval') >= 0:
Expand Down

0 comments on commit db880a3

Please sign in to comment.