Traceback (most recent call last):


 "demo.py", line 250, in <module>

test_oneimage()


 "demo.py", line 245, in test_oneimage

det = bbox_vote(det)


 "demo.py", line 69, in bbox_vote

det_accu_sum[:, 0:4] = np.sum(det_accu[:, 0:4], axis=0) / np.sum(det_accu[:, -1:])


 "/home/kzezel/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/tensor.py", line 398, in __rdiv__

return self.reciprocal() * other


 "/home/kzezel/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/tensor.py", line 486, in __array__

return self.numpy()
TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.

Traceback (most recent call last):


 "<input>", line 1, in <module>


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/generic.py", line 11466, in stat_func

func, name=name, axis=axis, skipna=skipna, numeric_only=numeric_only


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/frame.py", line 8660, in _reduce

result = func(values)


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/frame.py", line 8570, in func

return op(values, axis=axis, skipna=skipna, **kwds)


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/nanops.py", line 71, in _f

return f(*args, **kwargs)


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/nanops.py", line 129, in f

result = alt(values, axis=axis, skipna=skipna, **kwds)


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/nanops.py", line 563, in nanmean

the_sum = _ensure_numeric(values.sum(axis, dtype=dtype_sum))


 "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/nanops.py", line 1418, in _ensure_numeric

x = x.astype(np.float64)
TypeError: float() argument must be a string or a number, not 'NAType'
