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

MubarakHAlketbi
Copy link

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

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.

3 participants