I am not able to fit my model with
ImageClassifierData.from_arrays
object , following is the error i get
TypeError Traceback (most recent call last)
<ipython-input-51-82c597912cf3> in <module>()
----> 1 fit(net, model_data ,n_epochs=1, crit=loss , opt=opt , metrics=metrics)
3 frames
/usr/local/lib/python3.6/dist-packages/numpy/core/_methods.py in _sum(a, axis, dtype, out, keepdims, initial)
34 def _sum(a, axis=None, dtype=None, out=None, keepdims=False,
35 initial=_NoValue):
---> 36 return umr_sum(a, axis, dtype, out, keepdims, initial)
37
38 def _prod(a, axis=None, dtype=None, out=None, keepdims=False,
TypeError: No loop matching the specified signature and casting
was found for ufunc add
can anyone help or give an alternative