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
File "/data/tmp/tmu/./examples/classification/IMDbSparseAbsorbingTextCategorizationDemo.py", line 92, in
tm.fit(X_train, Y_train)
File "/data/tmp/tmu/tmu/models/classification/vanilla_classifier.py", line 374, in fit
assert len(X) == len(Y), "X and Y must have the same length"
File "/usr/local/lib/python3.10/dist-packages/scipy/sparse/_base.py", line 395, in len
raise TypeError("sparse array length is ambiguous; use getnnz()"
TypeError: sparse array length is ambiguous; use getnnz() or shape[0]
The text was updated successfully, but these errors were encountered:
File "/data/tmp/tmu/./examples/classification/IMDbSparseAbsorbingTextCategorizationDemo.py", line 92, in
tm.fit(X_train, Y_train)
File "/data/tmp/tmu/tmu/models/classification/vanilla_classifier.py", line 374, in fit
assert len(X) == len(Y), "X and Y must have the same length"
File "/usr/local/lib/python3.10/dist-packages/scipy/sparse/_base.py", line 395, in len
raise TypeError("sparse array length is ambiguous; use getnnz()"
TypeError: sparse array length is ambiguous; use getnnz() or shape[0]
The text was updated successfully, but these errors were encountered: