tarepan / SpeechMOS

Easy-to-Use Speech MOS predictors
MIT License
215 stars 16 forks source link

Remove weight_norm #20

Open lars76 opened 3 months ago

lars76 commented 3 months ago

Weight_norm is not required for the inference. Furthermore, in the latest version of Pytorch it leads to "UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.".

tarepan commented 3 months ago

Weight_norm is not required for the inference

👍️
You are right!
You can do it and it will speed up inference.

in the latest version of Pytorch it leads to "UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.".

👍️
You are right!
SpeechMOS will resolve this warning in near future, thanks for your kind notice!