Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conversion error #3

Open
islamtashfiq opened this issue Jun 22, 2017 · 6 comments
Open

conversion error #3

islamtashfiq opened this issue Jun 22, 2017 · 6 comments

Comments

@islamtashfiq
Copy link

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

@BorisLestsov
Copy link

BorisLestsov commented Jun 23, 2017

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.

@wkunique
Copy link

try change param to attr

@linsonwang
Copy link

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

@Tez01
Copy link

Tez01 commented May 30, 2019

@BorisLestsov Did you solve the issue?

@Tez01
Copy link

Tez01 commented May 30, 2019

try change param to attr

Could you please elaborate.
Thanks!

@PhenomenalOnee
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants