-
Notifications
You must be signed in to change notification settings - Fork 264
Description
Hi
I managed to install EmoPy on my ubuntu 18.04.
I tested the pre-trained model (fermodel_example.py) and managed to run the convolutional_model.py without error.
then I also managed to train my model on a large database of images and export it to the /output directory using :
model.export_model('output/conv2d_model.json','output/conv2d_weights.h5',"output/conv2d_emotion_map.json",{"calm": 0, "anger": 1, "happiness": 2})
Then I changed the path on fermodel.py from :
model_file = 'models/conv_model_%s.hdf5' % model_suffix
emotion_map_file = 'models/conv_emotion_map_%s.json' % model_suffix
to my newly trained model output :
model_file = 'models/conv2d_weights.h5'
emotion_map_file = 'models/conv2d_emotion_map.json'
But when I run fermodel.py again I get this error: