Emotion recognition model

Is there a way to get this working on a Pi5 with Hailo8 hat?
Under devices there are listed HAILORT/HAILO8L as well as HAILORT/HAILO8

emotion_recognition_fer2013--64x64_quant_hailort_multidevice_1

I get this error while trying it:

degirum.exceptions.DegirumException: Failed to perform model 'emotion_recognition_fer2013--64x64_quant_hailort_multidevice_1' inference: [ERROR]Incorrect value of parameter
Device type HAILORT/HAILO8L is not supported by the system

I try to use it as a combining → face detection and emotion.

Hi @core-stuff,

when you check the model JSON file, do you see this?

  "DEVICE": [
    {
      "DeviceType": "HAILO8L",
      "RuntimeAgent": "HAILORT",
      "ThreadPackSize": 6,
      "SupportedDeviceTypes": "HAILORT/HAILO8L, HAILORT/HAILO8"
    }

It’s possible that you simply need to change the DeviceType field from HAILO8L to HAILO8.

1 Like