Traceback (most recent call last):
File "E:/emotion examples/20190327github/keras/Facial-Expression-Recognition-with-Keras-master/realtime.py", line 156, in
main()
File "E:/emotion examples/20190327github/keras/Facial-Expression-Recognition-with-Keras-master/realtime.py", line 152, in main
emotion_model = load_model('./model/emotion_recognition.h5')
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\models.py", line 243, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\models.py", line 317, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\layers_init_.py", line 55, in deserialize
printable_module_name='layer')
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\utils\generic_utils.py", line 144, in deserialize_keras_object
list(custom_objects.items())))
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\models.py", line 1372, in from_config
layer = layer_module.deserialize(conf, custom_objects=custom_objects)
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\layers_init_.py", line 55, in deserialize
printable_module_name='layer')
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\utils\generic_utils.py", line 146, in deserialize_keras_object
return cls.from_config(config['config'])
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\engine\topology.py", line 1271, in from_config
return cls(**config)
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\layers\core.py", line 483, in init
super(Flatten, self).init(**kwargs)
File "C:\Users\W10\Anaconda3\lib\site-packages\keras\engine\topology.py", line 293, in init
raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'data_format')
Process finished with exit code 1