Please reproduce using the BoringModel To Reproduce in acli.pyfile importargparseimportpytorch_lightningasplparser=argparse.ArgumentParser("")sub_parsers=parser.add_subparsers()train_parser=sub_parsers.add_parser("train")train_parser.add_argument("--seed")train_parser=pl.Trainer.add_argparse_args(tr...
logger = None # Create trainer trainer = Trainer.from_argparse_args( args, callbacks=callbacks, logger=logger, ) dm = SharedDataModule(**vars(args)) # Start training trainer.fit(model, datamodule=dm) # Terminate wandb wandb.finish() if args.do_test: # Test trainer.test(datamodule=dm, ...