latent-diffusion icon indicating copy to clipboard operation
latent-diffusion copied to clipboard

Trainer has no add_argparse_args

Open jinhee-hub opened this issue 1 year ago • 2 comments

has anyone met this issue?

Traceback (most recent call last): File "C:\code\latent-diffusion\main.py", line 438, in parser = Trainer.add_argparse_args(parser) AttributeError: type object 'Trainer' has no attribute 'add_argparse_args'

jinhee-hub avatar Aug 11 '23 08:08 jinhee-hub

hi , Please checkout your pytorch-lightning's version.

GrandpaXun242 avatar Aug 18 '23 02:08 GrandpaXun242

I found this problem solved with pytorch_lightning==1.6.3

HuangJiameng avatar May 10 '24 13:05 HuangJiameng