oarriaga/face_classification

OSERROR: Unable to open file (emotion_models/fer2013_mini_XCEPTION.102-0.66.hdf5)

ARehmanZafar opened this issue · 2 comments

Hi,

As a newbie, I was trying to build this project and get some result out of it. After resolving multiple dependency issues I am now stuck at a point where script tries to execute below:

emotion_model_path = '../trained_models/emotion_models/fer2013_mini_XCEPTION.102-0.66.hdf5'

Time and again loading gets failed with an error as attached below:
error

I am using Python 3.6.5 with Windows 10 (64-bit). Any help in this regard will be highly appreciated.

Apologies in advance for any inconvenience. Thanks

I think it's a problem of where you're running the script.
Try to change dir to D:\AI\FaceDemo\src\ before running "python image_emotion_gender_demo.py".

@Doch88 Thanks man. It actually worked. I apologize for being so naive.