Toybrick

标题: mtcnn在3566上推理报错 [打印本页]

作者: ameRk    时间: 2022-6-29 16:28
标题: mtcnn在3566上推理报错
问题,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







欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3