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
Hi. I test the CP decomposition and I met a mistake returned by parafac: last, first, vertical, horizontal = parafac(W, rank=rank, init='random') ValueError: not enough values to unpack (expected 4, got 2)
I checked the returns of parafac, which should be a tensor. The version of tensorly is 0.4.5
The text was updated successfully, but these errors were encountered:
This error is because in newer version of parafac it returns norms and factors, so change your statement to
last, first, vertical, horizontal = parafac(W, rank=rank, init='random')[1].Then this return four factors,
Hi. I test the CP decomposition and I met a mistake returned by parafac:
last, first, vertical, horizontal = parafac(W, rank=rank, init='random') ValueError: not enough values to unpack (expected 4, got 2)
I checked the returns of parafac, which should be a tensor. The version of tensorly is 0.4.5
The text was updated successfully, but these errors were encountered: