Closed kharaldsson closed 1 year ago
I'm getting the below warning, followed by a sklearn error when trying to run with the proposed updates to preprocessing. Please try debugging so that the system still runs end-to-end with all English models. I will work on getting to work with Spanish, but let's ensure we don't lose the prior
/Users/Karl/opt/anaconda3/envs/PlaceboAffect/lib/python3.9/site-packages/numpy/core/fromnumeric.py:3474: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, /Users/Karl/opt/anaconda3/envs/PlaceboAffect/lib/python3.9/site-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) /Users/Karl/Documents/_UW_Compling/LING573/PlaceboAffect/src/features/extract_features.py:181: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. return np.array(vectors)
The error: `TypeError: only size-1 arrays can be converted to Python scalars
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/Karl/Documents/_UW_Compling/LING573/PlaceboAffect/scripts/../src/main.py", line 257, in