libfacedetection.train icon indicating copy to clipboard operation
libfacedetection.train copied to clipboard

请问余老师,我看源码,图片在送入网络前会转成27通道,我需要训练单通道的图片,应该怎么修改呢

Open kevinkinking opened this issue 4 years ago • 0 comments

     //only 27 elements used for each pixel
    create((imgHeight+1)/2, (imgWidth+1)/2, 32);
    //since the pixel assignment cannot fill all the elements in the blob.
    //some elements in the blob should be initialized to 0
    setZero();

kevinkinking avatar Nov 08 '21 11:11 kevinkinking