Closed CarpeDiemRo closed 3 years ago
This is an issue on the deepstack side, please report there, although without logs this is a dead end for a maintainer
Here are the logs
Logger: homeassistant.helpers.entity
Source: custom_components/deepstack_object/image_processing.py:350
First occurred: 12:40:22 PM (4781 occurrences)
Last logged: 3:31:45 PM
Update for image_processing.anna_persoane_camera_3 fails
Update for image_processing.anna_persoane_camera_5 fails
Update for image_processing.anna_persoane_camera_6 fails
Update for image_processing.anna_persoane_camera_1 fails
Update for image_processing.anna_persoane_camera_2 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 277, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 473, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/components/image_processing/__init__.py", line 137, in async_update
await self.async_process_image(image.content)
File "/usr/src/homeassistant/homeassistant/components/image_processing/__init__.py", line 117, in async_process_image
return await self.hass.async_add_executor_job(self.process_image, image)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/deepstack_object/image_processing.py", line 350, in process_image
predictions = self._dsobject.detect(image)
File "/usr/local/lib/python3.8/site-packages/deepstack/core.py", line 204, in detect
return response["predictions"]
KeyError: 'predictions'
Environment
Automation
Actual results
What I tried
OBS I am unable to reproduce manually and I didn't identify a root cause Unfortunately, I lost the logs, but as far as I remember showed something related to prediction