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

Something wrong with the dilation10_gta5_frontend.caffemodel #3

Open
islamtashfiq opened this issue Jul 21, 2017 · 1 comment
Open

Comments

@islamtashfiq
Copy link

I used pycaffe to observe the weights of the deconvolution layer with
deconv_weights = net.params['ctx_upsample'][0].data
and all the unique variables I get is 0 value. I think the whole network is zero value because I get 0 image as a result. Could you check the model?

@jhoffman
Copy link
Collaborator

jhoffman commented Aug 9, 2017

Caffe has a bilinear weight filler parameter which we use to load the kernel for bilinear upsampling in this layer. If you have zeros perhaps you are using the wrong weight filler.

Running the val script should produce a deploy prototxt where you should find the following layer:
layer { name: "upsample" type: "Deconvolution" bottom: "final" top: "upsample" param { lr_mult: 0.0 decay_mult: 0.0 } convolution_param { num_output: 19 bias_term: false pad: 4 kernel_size: 16 group: 19 stride: 8 weight_filler { type: "bilinear" } } }

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

2 participants