CompVis / latent-diffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
11.42k stars 1.49k forks source link

Trainer has no add_argparse_args #307

Open jinhee-hub opened 1 year ago

jinhee-hub commented 1 year ago

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'

GrandpaXun242 commented 1 year ago

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

HuangJiameng commented 3 months ago

I found this problem solved with pytorch_lightning==1.6.3