ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

torch.nn.utils.weight_norm breaks pnnx

Open nihui opened this issue 1 year ago • 1 comments

ref

torch.nn.utils.weight_norm

https://github.com/pytorch/pytorch/issues/57289

nihui avatar Jun 27 '24 15:06 nihui

THANKS TO NIHUI, this problem come from my model. it seems like changing the old version 'torch.nn.utils.weight_norm' to the new version 'torch.nn.utils.parametrizations.weight_norm' works, although i still can't fully convert my model to ncnn T_T

lotuscarvedlife avatar Aug 06 '24 09:08 lotuscarvedlife