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

torch.nn.modules.module.ModuleAttributeError: 'WN' object has no attribute 'cond_layer' #594

Open
Gooddz1 opened this issue Oct 4, 2024 · 1 comment

Comments

@Gooddz1
Copy link

Gooddz1 commented Oct 4, 2024

File "/home/sta/anaconda3/envs/vits_3.8/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/media/sta/移动硬盘/YXAI/AIproject/大模型/语言识别/vits-main/modules.py", line 153, in forward
g = self.cond_layer(g)
File "/home/sta/anaconda3/envs/vits_3.8/lib/python3.8/site-packages/torch/nn/modules/module.py", line 771, in getattr
raise ModuleAttributeError("'{}' object has no attribute '{}'".format(
torch.nn.modules.module.ModuleAttributeError: 'WN' object has no attribute 'cond_layer'

@Gooddz1
Copy link
Author

Gooddz1 commented Oct 4, 2024

File "/home/sta/anaconda3/envs/vits_3.8/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl result = self.forward(*input, **kwargs) File "/media/sta/移动硬盘/YXAI/AIproject/大模型/语言识别/vits-main/modules.py", line 153, in forward g = self.cond_layer(g) File "/home/sta/anaconda3/envs/vits_3.8/lib/python3.8/site-packages/torch/nn/modules/module.py", line 771, in getattr raise ModuleAttributeError("'{}' object has no attribute '{}'".format( torch.nn.modules.module.ModuleAttributeError: 'WN' object has no attribute 'cond_layer'

有人遇到这个问题吗

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