from utils import label_map_util Import Error: No module named utils

后端 未结 4 1425
轻奢々
轻奢々 2021-01-04 13:07

I am trying to run the object_detection.ipynb type program but it is a normal python program(.py). It is working very well but when running inside the ..m

4条回答
  •  花落未央
    2021-01-04 13:24

    It could be that your object_detection folder is not on your path, so python does not know where to look for the files.

    you can check this from within python with

    import sys
    
    sys.path
    

    if this is the problem, you can solve it by

    sys.path.insert(0, 'path/to/your/object_detection')
    

提交回复
热议问题