Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set sublabel. Status code: 404 #48

Open
jpatrickp opened this issue May 12, 2024 · 3 comments
Open

Failed to set sublabel. Status code: 404 #48

jpatrickp opened this issue May 12, 2024 · 3 comments

Comments

@jpatrickp
Copy link

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

@jpatrickp
Copy link
Author

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" "-"

@jpatrickp
Copy link
Author

Follow up note, this just occurred again on an event Frigate did save:

image

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

@jpatrickp
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant