Traceback (most recent call last):


 "get_pulse.py", line 213, in <module>

App.main_loop()


 "get_pulse.py", line 181, in main_loop

self.processor.run(self.selected_cam)


 "C:\Users\WorldMachine\Downloads\webcam-pulse-detector-no_openmdao\lib\processors_noopenmdao.py", line 207, in run

idx2 = np.argmax(pruned)


 "C:\Users\WorldMachine\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py", line 1037, in argmax

return _wrapfunc(a, 'argmax', axis=axis, out=out)


 "C:\Users\WorldMachine\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\fromnumeric.py", line 51, in _wrapfunc

return getattr(obj, method)(*args, **kwds)
ValueError: attempt to get argmax of an empty sequence

Traceback (most recent call last):


 "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner

self.run()


 "/usr/lib/python3.5/threading.py", line 862, in run

self._target(*self._args, **self._kwargs)


 "/home/xpxu/Project/simpledet/core/detection_input.py", line 740, in collector

data = [mx.nd.from_numpy(record[name], zero_copy=True) for name in self.data_name]


 "/home/xpxu/Project/simpledet/core/detection_input.py", line 740, in <listcomp>

data = [mx.nd.from_numpy(record[name], zero_copy=True) for name in self.data_name]


 "/usr/local/lib/python3.5/dist-packages/mxnet-1.5.0-py3.5.egg/mxnet/ndarray/ndarray.py", line 4274, in from_numpy

c_obj = _make_dl_managed_tensor(ndarray)


 "/usr/local/lib/python3.5/dist-packages/mxnet-1.5.0-py3.5.egg/mxnet/ndarray/ndarray.py", line 4263, in _make_dl_managed_tensor

c_obj.dl_tensor = _make_dl_tensor(array)


 "/usr/local/lib/python3.5/dist-packages/mxnet-1.5.0-py3.5.egg/mxnet/ndarray/ndarray.py", line 4250, in _make_dl_tensor

raise ValueError(str(array.dtype) + " is not supported.")
ValueError: uint8 is not supported.
