Closed chymaera96 closed 2 years ago
Thanks for reporting. I need to do a full update of MSAF, since several libraries are outdated as of now. I recommend you creating a virtual env with those old versions to use MSAF with in the meantime.
Running into the same issue with Colab.
I believe changing
from scipy.misc import factorial
to
from scipy.special import factorial
should do it.
Thanks for this library Uri!
Thanks so much for the help, Dorien, and for the nice comment! :)
It appears that this is a compatibility issue with SciPy 1.3 where the 'factorial' has been moved to 'scipy.special'. Is there a new release coming up? The following is the error message:
ImportError Traceback (most recent call last) ~/anaconda3/lib/python3.8/site-packages/msaf/pymf/vol.py in
16 try:
---> 17 from scipy.misc.common import factorial
18 except:
ImportError: cannot import name 'factorial' from 'scipy.misc.common' (/home/aditya/anaconda3/lib/python3.8/site-packages/scipy/misc/common.py)
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)