uhfband / keras2caffe

Keras to Caffe model converter tool
MIT License
67 stars 22 forks source link

KeyError: 'data' #16

Open scutzhe opened 5 years ago

scutzhe commented 5 years ago

File "/home/zhex/work/keras2caffe/examples/face_classification/convert.py", line 10, in keras2caffe.convert(model, 'deploy.prototxt', 'weights.caffemodel') File "/home/zhex/work/keras2caffe/keras2caffe/convert.py", line 80, in convert if layer_type=='InputLayer' or not hasattr(caffe_net, 'data'): File "/home/zhex/caffe/python/caffe/net_spec.py", line 180, in getattr return self.tops[name] KeyError: 'data'

uhfband commented 5 years ago

Please try now