Can someone explain to me what is NHCW format? I am working with the Jenson Inference library and for object detection the first step is called "Pre-Process" and it converts the image to NCHW format, but I don't know what this format is.
            Asked
            
        
        
            Active
            
        
            Viewed 7,474 times
        
    5
            
            
        2 Answers
9
            
            
        NCHW stands for:
batch N, channels C, depth D, height H, width W
It is a way to store multidimensional arrays / data frames / matrix into memory, which can be considered as a 1-D array. You may have a look to this link for further information. There also exist variants of this format with different ways of "casting" the multidimensional data into one.
        mranvick
        
- 339
 - 1
 - 2
 - 10
 
2
            
            
        NCHW is an acronym describing the order of the axes in a tensor containing image data samples.
N: Number of data samples.
C: Image channels. A red-green-blue (RGB) image will have 3 channels.
H: Image height.
W: Image width.
        Mahmoud Maghrabi
        
- 941
 - 6
 - 6