You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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?
The text was updated successfully, but these errors were encountered: