from utils import label_map_util Import Error: No module named utils

后端 未结 4 1419
轻奢々
轻奢々 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:16

    in python*./site-packages folder , you can see the utils folder . by default , when we run "from utils import label_map_util" it will try search label_map_util in python.*/site-packages/utils folder.

    this error can solve by changing the directory or copying a file from tensorflow/models/utils to python*.*/site-packages/utils

提交回复
热议问题