Traceback (most recent call last):


 "test_background-matting_image.py", line 121, in <module>

bbox=get_bbox(rcnn,R=bgr_img0.shape[0],C=bgr_img0.shape[1])


 "/content/drive/My Drive/background_matting/Background-Matting/functions.py", line 38, in get_bbox

x1, y1 = np.amin(where, axis=1)


 "<__array_function__ internals>", line 6, in amin


 "/usr/local/lib/python3.6/dist-packages/numpy/core/fromnumeric.py", line 2746, in amin

keepdims=keepdims, initial=initial, where=where)


 "/usr/local/lib/python3.6/dist-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction

return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
Traceback (most recent call last):


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 1045, in execute_service

service_handler.func(service_call)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/__init__.py", line 324, in media_player_service_handler

getattr(player, method)()


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/onkyo.py", line 176, in turn_on

self._receiver.power_on()


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 413, in power_on

return self.command('system-power on')


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 407, in command

response = self.raw(iscp_message)


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 397, in raw

return filter_for_message(self.get, iscp_message)


 "/usr/local/lib/python3.4/dist-packages/eiscp/core.py", line 257, in filter_for_message

raise ValueError('Timeout waiting for response.')
ValueError: Timeout waiting for response.
