paul-krug / pytorch-tcn

(Realtime) Temporal Convolutions in PyTorch
MIT License
55 stars 8 forks source link

weight_norm warning #1

Closed Capsar closed 6 months ago

Capsar commented 7 months ago

Thanks for creating the package & just a heads up,

When using the standard weight_norm with newer versions of PyTorch it gives the following warning:


  warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
paul-krug commented 7 months ago

I see, thank you for pointing it out. I will fix that in the next release :)

paul-krug commented 6 months ago

This was fixed in release 1.1