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
Previously, in my actual (much larger) use case, I was then getting a Buffer error that complained about getting a double instead of a float32_t, even when explicitly casting to np.float or np.float32. If I can reproduce that issue I will post a follow up.
In any case, thanks to the contributors for these wrappers, I've been finding them very useful!
The text was updated successfully, but these errors were encountered:
rgmyr
changed the title
gmm.gmm ValueError: Buffer has wrong number of dimensions
gmm.gmm covariance_bound: Buffer has wrong number of dimensions
Jul 18, 2018
I get a buffer error when trying to pass a scalar
covariance_bound
togmm.gmm
. The issue can be demonstrated with a short example:When I change the argument to a 1D array, it seems to work, at least for this toy example:
The difference here is between having
ndim=0
andndim=1
:Previously, in my actual (much larger) use case, I was then getting a Buffer error that complained about getting a
double
instead of afloat32_t
, even when explicitly casting tonp.float
ornp.float32
. If I can reproduce that issue I will post a follow up.In any case, thanks to the contributors for these wrappers, I've been finding them very useful!
The text was updated successfully, but these errors were encountered: