facer icon indicating copy to clipboard operation
facer copied to clipboard

Keyerror

Open gebaltso opened this issue 6 months ago • 1 comments

Hello and thank you for your excellent work. I' m facing a keyError when I run the face Attributes code for not just an image but a dataset. More specifically it runs flawless for some hundreds of times but then at the point in code:

with torch.inference_mode(): faces = face_attr(image, faces)

It raises a Keyerror: 'image_ids' .

I observed that at this point the data keysis equal to ([ ]) wheere before it was equal to (['rects, 'points', 'scores', image_ids']).

Any idea what it might be wrong?

gebaltso avatar Dec 04 '23 13:12 gebaltso

please check #26

Ttayu avatar Jan 13 '24 11:01 Ttayu