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

Update hifigan_generator.py #3594

Closed
wants to merge 1 commit into from
Closed

Update hifigan_generator.py #3594

wants to merge 1 commit into from

Conversation

sato942
Copy link

@sato942 sato942 commented Feb 18, 2024

fixing error

ImportError: cannot import name 'weight_norm' from 'torch.nn.utils.parametrizations'

module is in torch.nn.utils.weight_norm

fixing error
```
ImportError: cannot import name 'weight_norm' from 'torch.nn.utils.parametrizations'
```
module is in torch.nn.utils.weight_norm
@CLAassistant
Copy link

CLAassistant commented Feb 18, 2024

CLA assistant check
All committers have signed the CLA.

@Qubitium
Copy link

@MHketbi which torch version are you running?

torch.nn.utils.parametrizations does exist. tested under torch 2.1 and 2.2

@sato942 sato942 closed this Feb 26, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants