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

error in pspnet.prototxt #8

Open
jeansely opened this issue Aug 9, 2017 · 9 comments
Open

error in pspnet.prototxt #8

jeansely opened this issue Aug 9, 2017 · 9 comments

Comments

@jeansely
Copy link

jeansely commented Aug 9, 2017

Hello,
when run weight-converter this error occur:

"caffe.LayerParameter" has no field named "bn_param".

                      i replace it with "batch_norm_param"

again occur below error:
"caffe.BatchNormParameter" has no field named "slope_filler".

@Vladkryvoruchko
Copy link
Owner

Hello @jeansely . There is modified prototxt in /utils/model

@jeansely
Copy link
Author

now in /utils/model the prototxt is ;
bn_param {
slope_filler {
type: "constant"
value: 1
}
bias_filler {
type: "constant"
value: 0
}
frozen: true
momentum: 0.95

what are replace these lines ?

@jefequien
Copy link
Collaborator

@jeansely
Copy link
Author

when run weigth -converter occur error in prototxt "line 109"

has no field named "bn_param".
and
"caffe.BatchNormParameter" has no field named "slope_filler".

@CuriousCat-7
Copy link

I hold the same problem

@tangsanli5201
Copy link

I hold the same problem too.

@Vladkryvoruchko
Copy link
Owner

@CuriousCat-7 @tangsanli5201 Please use already converted h5, json weights. Links that can be found in README.md
I just cannot remember what was done with this converter, so if I find out i will leave a comment in this thread

@tangsanli5201
Copy link

@Vladkryvoruchko Yeah. I tried to use the already converted json weights, but it raised an error: 'bad marshal data...'., which I thought it is caused by the different version of Keras( mine is 2.1.2). And it's solved now: I generated the json file through Keras 2.1.2 and replaced the old one. It's working. Thanks!

@RahavLussato
Copy link

@tangsanli5201 how did you manage to generate the json ? i have the same bad marshal data... issue

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