Closed Jordan-Dennis closed 2 years ago
It seems to be occurring in the scipy
internals (see the following line in the stacktrace)
~/anaconda3/envs/kitkat/lib/python3.9/site-packages/scipy-1.8.0rc2-py3.9-linux-x86_64.egg/scipy/optimize/_minimize.py in minimize(fun, x0, args, method, jac, hess, hessp, bounds, constraints, tol, callback, options)
514
515 """
--> 516 x0 = np.atleast_1d(np.asarray(x0))
517 if x0.dtype.kind in np.typecodes["AllInteger"]:
518 x0 = np.asarray(x0, dtype=float)
This should be easily resolved by switching to jax.scipy
Often when I provide a
target_C_14
to run I am hit with an error that thendarray
conversion method__array__
was called on aJAX
type (full error below). Often I get around this by using theSingleFitter
, which seems to have some solution. I'm raising this as an issue because it keeps happening and is very difficult to debug.