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

Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission. 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).
  • The above error occurred when using keras_retinanet, probably because keras calls c on windows with more errors, but the author has given a solution on the original project, enter python setup.py build_ext --inplace in the terminal to put the project in The compute_overlap.pyx can be transformed accordingly.