CIFASIS / neural-fuzzer

http://cifasis.github.io/neural-fuzzer/
GNU General Public License v3.0
90 stars 20 forks source link

You are trying to load a weight file containing 0 layers into a model with 4 layers. #5

Open Err0rZero opened 6 years ago

Err0rZero commented 6 years ago

error:

Using TensorFlow backend. Using ./gen-894105273692 to store the generated files Traceback (most recent call last): File "neural-fuzzer.py", line 206, in model.load_weights(file_model) File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 768, in load_weights topology.load_weights_from_hdf5_group(f, layers, reshape=reshape) File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 3365, in load_weights_from_hdf5_group str(len(filtered_layers)) + ' layers.') ValueError: You are trying to load a weight file containing 0 layers into a model with 4 layers.

please help me , python2.7 , run python neural-fuzzer.py --max-gen-size 64 0-gen-xml.lstm seeds/