AttributeError: module 'labelme.utils' has no attribute 'draw_label'

Implement labelme batch json_to_dataset method

https://blog.csdn.net/yql_617540298/article/details/81110685#comments

I saw someone asking: AttributeError: module 'labelme.utils' has no attribute 'draw_label'. This problem does not appear here, so I can only give an idea, and then hope to help.

This question: Since there is no draw_label module in labelme.utils, look at the code given earlier:

Draw_label () called on line 65, and this is referenced on line 10

If there is an AttributeError: module 'labelme.utils' has no attribute 'draw_label' error, the reason should be that the module is not imported in the import, so you need to find labelme.utils

Before, I have given my installation path: G: \ Anaconda \ Lib \ site-packages \ labelme

Guess you like

Origin blog.csdn.net/yql_617540298/article/details/104182777