Closed shibataryohei closed 5 months ago
I believe I know the issue. You are providing a pandas DataFrame to ImageTransformer when it should be a numpy array.
Change the line
it.transform(X_train_sm)
to
it.transform(X_train_sm.to_numpy())
Or convert it beforehand.
Hi Kaboroevich,
That works well! Thank you so much for your kindness.
Hi.
I'm the one who opened issue #39. Thanks for addressing it! Updated Python in Google Colab to 3.11 and it fixed the issue, but now I'm getting errors in code that used to run fine.
The error is
X_train_sm
is a matrix with (442, 3656) and the data looks good.y_train_sm
is a vector with 442.Could the recent pyDeepInsight update be related to this error? If there's a fix, please let me know.
Best, Ryohei