【目标检测】Retinanet 实战

代码:https://github.com/fizyr/keras-retinanet

参考:https://blog.csdn.net/wc781708249/article/details/79643484

 

keras_retinanet/bin/train.py pascal /home/yuanyq/Detect_DL/awesome-semantic-segmentation-pytorch/datasets/voc

 

Question:

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作相应的变换,即可。
 

你可能感兴趣的:(目标检测)