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

Question about extract() with Slice layer -- all Out w h c are Zero #345

Closed
anshan-XR-ROB opened this issue Apr 11, 2018 · 1 comment
Closed

Comments

@anshan-XR-ROB
Copy link

Hi,
I use the NCNN library to extract the blob using:
ex.extract(pose_0408_param_id::BLOB_Mconv7_stage2,out);
However, the out W H C are all 0. The net prototxt is like following:
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 1 dim: 4 dim: 368 dim: 368 } }
}
layer {
name: "image"
type: "Slice"
bottom: "data"
top: "image"
top: "center_map"
slice_param {
slice_point: 3
axis: 1
}
}
layer {
name: "pool_center_lower"
type: "Pooling"
bottom: "center_map"
top: "pool_center_lower"
pooling_param {
pool: AVE
kernel_size: 9
stride: 8
}
}
I tried to extract BLOB_pool_center_lower, But also get 0. The BLOB_data is right.
Does there any error with Slice layer?

@anshan-XR-ROB anshan-XR-ROB changed the title Question about extract() with all Out w h c are Zero Question about extract() with Slice layer -- all Out w h c are Zero Apr 11, 2018
@northeastsquare
Copy link

@AnshanTJU Have you solve it, I also met this. Could you share your final solution?

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