You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use pytorch 1.10 and tensorly 0.4.0.,but I got error as following:
File "/content/drive/MyDrive/Tensor_decomposing/decompositions.py", line 14, in cp_decomposition_conv_layer
parafac(layer.weight.data, rank=rank, init='svd')
File "/usr/local/lib/python3.9/dist-packages/tensorly/decomposition/candecomp_parafac.py", line 153, in parafac
factor = T.transpose(T.solve(T.transpose(pseudo_inverse), T.transpose(factor)))
File "/usr/local/lib/python3.9/dist-packages/tensorly/backend/pytorch_backend.py", line 152, in solve
solution, _ = torch.gesv(matrix2, matrix1)
AttributeError: module 'torch' has no attribute 'gesv'
The text was updated successfully, but these errors were encountered:
I use pytorch 1.10 and tensorly 0.4.0.,but I got error as following:
File "/content/drive/MyDrive/Tensor_decomposing/decompositions.py", line 14, in cp_decomposition_conv_layer
parafac(layer.weight.data, rank=rank, init='svd')
File "/usr/local/lib/python3.9/dist-packages/tensorly/decomposition/candecomp_parafac.py", line 153, in parafac
factor = T.transpose(T.solve(T.transpose(pseudo_inverse), T.transpose(factor)))
File "/usr/local/lib/python3.9/dist-packages/tensorly/backend/pytorch_backend.py", line 152, in solve
solution, _ = torch.gesv(matrix2, matrix1)
AttributeError: module 'torch' has no attribute 'gesv'
The text was updated successfully, but these errors were encountered: