I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat with zeros and ones. My caffemodel has an input of dimension 1x625x1x1. So I want to reshape the 625x1 Mat to 1x625x1x1 blob to be passed as input.
1 | initial version |
I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat with zeros and ones. My caffemodel has an input of dimension 1x625x1x1. So I want to reshape the 625x1 Mat to 1x625x1x1 blob to be passed as input.
I want to create a 4D Mat with dimensions 1x625x1x1 . Specifically I have a 625x1 Mat with zeros and ones. My caffemodel has an input of dimension 1x625x1x1. So I want to reshape the 625x1 Mat to 1x625x1x1 blob to be passed as input.
Or suggest a way to create a 1x625x1x1 Mat and fill it with zeros and ones using a loop.
I want to create a 4D Mat with dimensions 1x625x1x1 .
Specifically I have a 625x1 Mat with zeros and ones. My caffemodel has an input of dimension 1x625x1x1. 1x625x1x1 as given in the .prototxt file. So I want to reshape the 625x1 Mat to 1x625x1x1 blob to be passed as input.
Or suggest a way to create a 1x625x1x1 Mat and fill it with zeros and ones using a loop.