Open jpatrickp opened 3 months ago
Here's the frigate logs:
frigate | 2024-05-12 14:18:24.778710249 172.20.0.2 - - [12/May/2024:14:18:24 -0600] "GET /api/events/1715545104.263011-45igc4/snapshot.jpg?crop=1&quality=95 HTTP/1.1" 200 334887 "-" "python-requests/2.30.0" "-"
frigate | 2024-05-12 14:18:24.809325748 172.20.0.2 - - [12/May/2024:14:18:24 -0600] "POST /api/events/1715545104.263011-45igc4/sub_label HTTP/1.1" 404 71 "-" "python-requests/2.30.0" "-"
Follow up note, this just occurred again on an event Frigate did save:
whosatmyfeeder | Category(index=68, score=0.953125, display_name='Cardinalis cardinalis', category_name='/m/01tgcy') whosatmyfeeder | No record yet for this event. Storing. whosatmyfeeder | Failed to set sublabel. Status code: 404 whosatmyfeeder | Getting image for event: 1715545104.263011-45igc4
Problem is intermittent, some sublabels get set fine:
whosatmyfeeder | 2024-05-12 19:47:47 whosatmyfeeder | Category(index=68, score=0.953125, display_name='Cardinalis cardinalis', category_name='/m/01tgcy') whosatmyfeeder | There is already a record for this event. Checking score whosatmyfeeder | New score is higher. Updating record with higher score. whosatmyfeeder | Sublabel set successfully to: Northern Cardinal
Running into an issue where sometimes Frigate doesn't save the event but WhosAtMyFeeder classifies it correctly then 404's trying to set the label. The event doesn't appear in Frigate.
Is there some setting in Frigate or WhosAtMyFeeder I'm missing? How can I set the threshholds in the frigate config?
whosatmyfeeder | 2024-05-12 15:32:35 whosatmyfeeder | Category(index=68, score=0.890625, display_name='Cardinalis cardinalis', category_name='/m/01tgcy') whosatmyfeeder | No record yet for this event. Storing. whosatmyfeeder | Failed to set sublabel. Status code: 404