Closed quanjunc closed 4 years ago
Could you try the version of Tensorly on master? I believe this will be fixed in the next release.
https://stackoverflow.com/questions/15268953/how-to-install-python-package-from-github
Could you try the version of Tensorly on master? I believe this will be fixed in the next release.
https://stackoverflow.com/questions/15268953/how-to-install-python-package-from-github
I have tried the version of Tensorly on master. It can work well now.
Great, closing this. Feel free to reopen if you have other issues.
Describe the bug
When I try to use mask parameter in parafac function for missing values, it doesn't work.
Steps or Code to Reproduce
factors = parafac(tensor=mask_img, init='random', rank=100,n_iter_max=1000,random_state=416,non_negative=True,mask=mask)
Expected behavior
Actual result
--------------------------------------------------------------------------- ``` ValueError Traceback (most recent call last)It seems that there is an array shape mistake in line 69 of numpy_backend.py. Therefore I try to use Pytorch backend and it works well.