longcw / pytorch2caffe

Convert PyTorch model to Caffemodel
541 stars 151 forks source link

builtins.KeyError: 'NoneType' #5

Open duyuting opened 6 years ago

duyuting commented 6 years ago

File "/home/dyt/ssd.pytorch/pytorch2caffe/pytorch2caffe.py", line 165, in add_layer layer['type'] = layer_dict[parent_type]

builtins.KeyError: 'NoneType'

I want convert ssd net to caffe ,this error how can I process?

lidehuihxjz commented 6 years ago

Got that error too when I tried to convert a fcn-like network to caffe. Have solved this?