First, clone this: https://github.com/tensorflow/models and include the path to your code the folder is in the research folder research/object_detection
:
import sys
sys.path
sys.path.insert(0, 'path/to/your/object_detection')
Or this way
import( os )
os.chdir( 'path/to/your/object_detection' )
and change your import to be:
from object_detection.utils import label_map_util
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.