Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'checkpoint_callback' #43

Open
a897456 opened this issue Mar 10, 2024 · 0 comments

Comments

@a897456
Copy link

a897456 commented Mar 10, 2024

trainer = Trainer.from_argparse_args(trainer_opt, **trainer_kwargs)

Hi @v-iashin

When I run the program, the error appears, I search many answers, but can not solve it, can you help me to look at it?

Global seed set to 23
Running on GPUs 0,
loaded pretrained LPAPS loss from specvqgan/modules/autoencoder/lpaps\vggishish16.pt
VQLPAPSWithDiscriminator running with hinge loss.
We will not save audio for conditioning and conditioning_rec
Traceback (most recent call last):
File "C:\Users\User1\Downloads\SpecVQGAN-main\train.py", line 657, in
trainer = Trainer.from_argparse_args(trainer_opt, **trainer_kwargs)
File "E:\ProgramData\anaconda3\envs\py39\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1952, in from_argparse_args
return from_argparse_args(cls, args, **kwargs)
File "E:\ProgramData\anaconda3\envs\py39\lib\site-packages\pytorch_lightning\utilities\argparse.py", line 66, in from_argparse_args
return cls(**trainer_kwargs)
File "E:\ProgramData\anaconda3\envs\py39\lib\site-packages\pytorch_lightning\utilities\argparse.py", line 348, in insert_env_defaults
return fn(self, **kwargs)
TypeError: init() got an unexpected keyword argument 'checkpoint_callback'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant