emotionrecognition icon indicating copy to clipboard operation
emotionrecognition copied to clipboard

window10 运行报错,求助!

Open xtuyaowu opened this issue 6 years ago • 0 comments

2018-05-09 16:43:25.032285: W C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\35\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. Traceback (most recent call last): File "F:/pyworkspace/detect/emotionrecognition/image_demo.py", line 14, in emotion_classifier = load_model(emotion_model_path) File "E:\ProgramData\Anaconda3\lib\site-packages\keras\models.py", line 272, in load_model model.optimizer.set_weights(optimizer_weight_values) File "E:\ProgramData\Anaconda3\lib\site-packages\keras\optimizers.py", line 79, in set_weights 'provided weight shape ' + str(w.shape)) ValueError: Optimizer weight shape (8,) not compatible with provided weight shape (3, 3, 1, 8)

xtuyaowu avatar May 09 '18 09:05 xtuyaowu