gen_Onet_train_data.py ValueError: negative dimensions are not allowed
longgao opened this issue · 1 comments
longgao commented
File "/home/mcw/PycharmProjects/DFace-master/dface/core/detect.py", line 391, in detect_rnet
tmp = np.zeros((tmph[i], tmpw[i], 3), dtype=np.uint8)
qiwdqiddadadwda commented
Don't change any other code from this repo and just replace row 20 in /dface/core/image_tools.py
return (transform(image) / 255).float()
It will work fine