MTCNN_Pytorch icon indicating copy to clipboard operation
MTCNN_Pytorch copied to clipboard

error when train pnet

Open yja1 opened this issue 6 years ago • 0 comments

in dataset.py : size = (uniform(-1.0, 1.0) * sigma + 1) * face_max_size when size is small,the crop_box width or height will be zero. then cause error on: crop_img_np = img_np[crop_box[1]:crop_box[3], crop_box[0]:crop_box[2], :]

yja1 avatar Jan 09 '20 06:01 yja1