|
问题,mtcnn模型推理执行失败
模型转换是基于 https://github.com/chenshiqin/mtcnn 进行修改的,模型已经转换成功,但是将转换成功的模型导入到3566板上进行推理验证,报错信息如下:
Traceback (most recent call last):
File "demo_lite.py", line 568, in <module>
main()
File "demo_lite.py", line 549, in main
boundingboxes, points = detect_face(img_matlab, minsize, pnet_rknn_list, rnet_rknn, onet_rknn, threshold, False, factor)
File "demo_lite.py", line 370, in detect_face
tmp = np.zeros((int(tmph[k]) +1, int(tmpw[k]) + 1,3))
ValueError: negative dimensions are not allowed
|
|