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
But when I run features.py I have the following error:
Traceback (most recent call last): File "features.py", line 119, in <module> learn_transform(params,feats) File "features.py", line 23, in learn_transform feats = normalize(feats) File "/usr/lib/python2.7/dist-packages/sklearn/preprocessing/data.py", line 1280, in normalize estimator='the normalize function', dtype=FLOAT_DTYPES) File "/usr/lib/python2.7/dist-packages/sklearn/utils/validation.py", line 407, in check_array context)) ValueError: Found array with 0 sample(s) (shape=(0, 512)) while a minimum of 1 is required by the normalize function.
The text was updated successfully, but these errors were encountered:
I have successfully run the following:
But when I run
features.py
I have the following error:Traceback (most recent call last): File "features.py", line 119, in <module> learn_transform(params,feats) File "features.py", line 23, in learn_transform feats = normalize(feats) File "/usr/lib/python2.7/dist-packages/sklearn/preprocessing/data.py", line 1280, in normalize estimator='the normalize function', dtype=FLOAT_DTYPES) File "/usr/lib/python2.7/dist-packages/sklearn/utils/validation.py", line 407, in check_array context)) ValueError: Found array with 0 sample(s) (shape=(0, 512)) while a minimum of 1 is required by the normalize function.
The text was updated successfully, but these errors were encountered: