from utils import label_map_util Import Error: No module named utils

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

    You need to download protoc version 3.3 (already compiled). Used protoc inside bin directory to run this command like this:

    tensorflow$ mkdir protoc_3.3
    tensorflow$ cd protoc_3.3
    tensorflow/protoc_3.3$ wget wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip
    tensorflow/protoc_3.3$ chmod 775 protoc-3.3.0-linux-x86_64.zip
    tensorflow/protoc_3.3$ unzip protoc-3.3.0-linux-x86_64.zip
    tensorflow/protoc_3.3$ cd ../models/research/
    tensorflow/protoc_3.3$ /home/saikishor/tensorflow/protoc_3.3/bin/protoc object_detection/protos/*.proto --python_out=.
    

    This will hopefully work!!

提交回复
热议问题