AttributeError: module 'tensorly.backend' has no attribute 'decomposition' #413
Unanswered
leohermet1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think the issue is that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using tensorly and I had this problem for a while now.
On linux, mac or windows,
New environment with python version 3.6.8 or 3.9.12 or 3.10.2 ,
i run pip3 install -U tensorly or pip3 install tensorly
import tensorly
and when I want to use the decomposition module with tensorly.decomposition() it says
AttributeError: module 'tensorly.backend' has no attribute 'decomposition'
Even tho when I print the list of all the modules of tensorly in the same script there is 'decomposition' in it.
But when I'm using
from tensorly.decomposition import parafac2
it's working.Beta Was this translation helpful? Give feedback.
All reactions