We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "/Users/druw_shark/PycharmProjects/keras-zhihu-master-ForEasyDeepLeaning/zhihu.py", line 179, in cropModel = load_model(crop_model) File "/Library/Python/2.7/site-packages/keras/models.py", line 280, in load_model model.optimizer.set_weights(optimizer_weight_values) File "/Library/Python/2.7/site-packages/keras/optimizers.py", line 79, in set_weights 'provided weight shape ' + str(w.shape)) ValueError: Optimizer weight shape (4,) not compatible with provided weight shape (3, 3, 1, 4)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Traceback (most recent call last):
File "/Users/druw_shark/PycharmProjects/keras-zhihu-master-ForEasyDeepLeaning/zhihu.py", line 179, in
cropModel = load_model(crop_model)
File "/Library/Python/2.7/site-packages/keras/models.py", line 280, in load_model
model.optimizer.set_weights(optimizer_weight_values)
File "/Library/Python/2.7/site-packages/keras/optimizers.py", line 79, in set_weights
'provided weight shape ' + str(w.shape))
ValueError: Optimizer weight shape (4,) not compatible with provided weight shape (3, 3, 1, 4)
The text was updated successfully, but these errors were encountered: