ImportError: No module named 'keras_retinanet.utils.compute_overlap'

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012193416/article/details/87784967
  • I get the error ModuleNotFoundError: No module named 'keras_retinanet.utils.compute_overlap', how do I fix this? Most likely you are running the code from the cloned repository. This is fine, but you need to compile some extensions for this to work (python setup.py build_ext --inplace).
  • 在使用 keras_retinanet 时出现了上述的错误,可能是因为keras调用c在windows上错误比较多,但是在原项目上作者已经给出了解决方案,在terminal中输入python setup.py build_ext --inplace 把项目中的compute_overlap.pyx作相应的变换,即可。

猜你喜欢

转载自blog.csdn.net/u012193416/article/details/87784967