nimfa icon indicating copy to clipboard operation
nimfa copied to clipboard

KeyError: <built-in function format> in SepNMF

Open cympfh opened this issue 5 years ago • 1 comments

I'm using Python 3.6.8 and tried SepNMF. (I know that this is tested not on 3.6.8) Then I got KeyError: <built-in function format> by following code:

import nimfa

model = nimfa.SepNmf(X_uw)  # lil_matrix
model.factorize()

I have checked the code and I wonder theformat variable not defined? (of course, format is build-in in Python 3.x). Is this a bug of SepNMF?

https://github.com/marinkaz/nimfa/blob/master/nimfa/methods/factorization/sepnmf.py#L300

cympfh avatar Nov 15 '19 08:11 cympfh

I'm having the same problem

LauraRichter avatar Jun 07 '23 22:06 LauraRichter