Keras-RFCN icon indicating copy to clipboard operation
Keras-RFCN copied to clipboard

Can't load your pre-trained model.

Open sklipnoty opened this issue 5 years ago • 0 comments

File "/usr/local/lib/python3.6/site-packages/keras/engine/topology.py", line 3115, in load_weights_from_hdf5_group str(len(filtered_layers)) + ' layers.') ValueError: You are trying to load a weight file containing 145 layers into a model with 123 layers.

Also you should make a difference between weights (.hdf5) and the model+weights (.h5)

I don't see the point why you would include weights and then don't include an easy way to test the inference of the model. (which seems very convoluted.)

sklipnoty avatar Mar 15 '19 10:03 sklipnoty