insightface新作:RetinaFace单阶段人脸检测
马上动手试了一波
项目链接:
https://github.com/deepinsight/insightface/tree/master/RetinaFace
根据一步步操作下来,利用下载好的预训练模型进行人脸检测,突然发现报错

ModuleNotFoundError: No module named ‘rcnn.cython.bbox’

然后仔细再看一遍,说明
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'
原来是因为我并未在终端中

make

那么make有什么用呢?
在我输入make之后,出现了一大堆的东西
再根据readme上面的这句话
Type make to build cxx tools.
应该是编译一些跟cxx相关的内容
例如
这里显示的:
cythoning bbox.pyx to bbox.c
cythoning anchors.pyx to anchors.c
cythoning cpu_nms.pyx to cpu_nms.c

所以在运行test.py之前,需要make一下,编译一些必要的配置
最终效果如下
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'
欢迎关注我,公众号:AI算法与图像处理。一起交流成长
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'

相关文章:

  • 2021-07-19
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2021-11-08
  • 2022-01-19
猜你喜欢
  • 2021-11-24
  • 2021-04-06
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2021-09-05
相关资源
相似解决方案