Wide-Residual-Networks icon indicating copy to clipboard operation
Wide-Residual-Networks copied to clipboard

both new and old weights don't load

Open jcpeterson opened this issue 7 years ago • 3 comments

Using keras 2.2.0. I tried both the new and old weights in the main 28-8 script, and neither load correctly.

ValueError: Layer #0 (named "conv2d_1" in the current model) was found to correspond to layer convolution2d_29 in the save file. However the new layer conv2d_1 expects 1 weights, but the saved weights have 2 elements.

The keras contrib version of this code does load the new weights, but the accuracy on the test set is around 30%. Am I missing something?

jcpeterson avatar Sep 21 '18 01:09 jcpeterson

Indeed! Knowing the exact Keras version you used in your experiments would help a lot! Any chance for this?

FrancescoCrecchi avatar Feb 27 '20 10:02 FrancescoCrecchi

I don't precisely remember, but it's most definitely Keras 1.x later releases.

titu1994 avatar Feb 28 '20 07:02 titu1994

Keras 2.1.3 has the same problem, both on 28-8 and 16-8 model.

persistz avatar Oct 01 '20 03:10 persistz