MXNet2Caffe icon indicating copy to clipboard operation
MXNet2Caffe copied to clipboard

conversion error

Open islamtashfiq opened this issue 8 years ago • 6 comments

I get an error in prototxt_basic.py Convolution(txt_file, info) if info['param']['no_bias'] == 'True': KeyError: 'param'

islamtashfiq avatar Jun 22 '17 05:06 islamtashfiq

Same problem. Variable info has a field called "params", but if replace if info['param']['no_bias'] == 'True': with if info['params']['no_bias'] == 'True': i get another error:

if info['params']['no_bias'] == 'True': TypeError: list indices must be integers, not str

because info['params'] is a list of strings, and cannot be indexed with string.

BorisLestsov avatar Jun 23 '17 16:06 BorisLestsov

try change param to attr

wkunique avatar Jun 28 '17 01:06 wkunique

@BorisLestsov I met the same issue, did you solve it?

linsonwang avatar Apr 01 '18 08:04 linsonwang

@BorisLestsov Did you solve the issue?

Tez01 avatar May 30 '19 12:05 Tez01

try change param to attr

Could you please elaborate. Thanks!

Tez01 avatar May 30 '19 12:05 Tez01

just replace 'params' as keywords in the conversion file with 'attrs'

PhenomenalOnee avatar Jul 18 '19 10:07 PhenomenalOnee