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

In 2nd stage training AttributeError: 'AudioDiffusionConditional' object has no attribute 'module' #263

Open
SandyPanda-MLDL opened this issue Jul 2, 2024 · 0 comments

Comments

@SandyPanda-MLDL
Copy link

SandyPanda-MLDL commented Jul 2, 2024

I am unable to debug this specific issue which is appearing in 2nd stage training as follows:

Traceback (most recent call last):
File "/hdd2/Sandipan/SDhar-Projects/StyleTTS2-new/train_second.py", line 829, in
main()
File "/hdd2/Sandipan/envs/stylett2new/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/hdd2/Sandipan/envs/stylett2new/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/hdd2/Sandipan/envs/stylett2new/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/hdd2/Sandipan/envs/stylett2new/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/hdd2/Sandipan/SDhar-Projects/StyleTTS2-new/train_second.py", line 353, in main
model.diffusion.module.diffusion.sigma_data = s_trg.std(axis=-1).mean().item() # batch-wise std estimation
File "/hdd2/Sandipan/envs/stylett2new/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'AudioDiffusionConditional' object has no attribute 'module'

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