Skip to content

[BUG] Amazon Rekognition Training not successful (error 500 / 502) #353

Description

@vdiogo

Describe the bug
I have recently started using Amazon Rekoginition in paralel with Compreface, and haven't been able to train the model when Double-Take returns unknown face recognition.

As an example, when I select an image an apply a label, I jump to the Train tab of Double-Take, and wait until the page loads (while training is in process) and get an error message saying Error 500. Slightly after that (couple of minutes) I get multiple Error 502 messages.

This is my Double-Take configuration for Rekognition:

  rekognition:
    aws_access_key_id: !secret aws_access_key
    aws_secret_access_key: !secret aws_secret_access_key
    aws_region: eu-west-1 #this is in Ireland, default is us-east-1
    collection_id: double-take
    opencv_face_required: true

Version of Double Take
v1.13.11.8

Expected behavior
Would expect that by applying the label to an image, that the model would be trained and would start getting subsequent images recognized by the model

Screenshots

  1. Select image and apply label
image
  1. Check training status
image
  1. Request fails
image
  1. Images appear as trained, but new (or tarined) images don't show the label applied
image

Hardware

  • OS: running double-take in Home Assistant (HACS)
  • Browser: Chrome

Additional context
Cannot find any useful info in the logs (including a reference to those error messages)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions