NVIDIA-AI-IOT / tf_trt_models

TensorFlow models accelerated with NVIDIA TensorRT
BSD 3-Clause "New" or "Revised" License
681 stars 245 forks source link

Import Error: cannot import name 'exporter' #52

Open tfoxkustudent opened 5 years ago

tfoxkustudent commented 5 years ago

Traceback (most recent call last): File "jetson_stream.py", line 9, in from object_detector_trt import ObjectDetectorTRT File "/home/nano/sc2.2/scripts/mobile_detector/object_detector_trt.py", line 5, in from tf_trt_models.detection import download_detection_model, \ File "/home/nano/.local/lib/python3.6/site-packages/tf_trt_models-0.0-py3.6.egg/tf_trt_models/detection.py", line 3, in ImportError: cannot import name 'exporter'

jaybdub commented 5 years ago

Hi tfoxkustudent,

Have you run the install.sh script in this repository? It seems like the TensorFlow object detection API hasn't been installed. This script should handle that.

Best, John