Skip to content

Error on running detect_objects_webcam.py #9

@alfr137

Description

@alfr137

Machine settings: Ubuntu 18.04.3 LTS, Nvidia Quadro RTX 6000/PCIe/SSE2, NVIDIA-SMI 430.26 Driver Version: 430.26 , CUDA Version: 10.2 ;

I managed to setup the environment using the ./setup_environment.sh but when i try to run the inference on webcam using ./setup_environment.sh this error occurs:

"SSD_Model/detect_objects_webcam.py", line 12, in
import utils.inference as inference_utils # TRT/TF inference wrappers
File "/mnt/SSD_Model/utils/inference.py", line 60, in
import utils.engine as engine_utils # TRT Engine creation/save/load utils
File "/mnt/SSD_Model/utils/engine.py", line 11, in
from utils.model import ModelData
File "/mnt/SSD_Model/utils/model.py", line 9, in
import graphsurgeon as gs
File "/usr/lib/python3.5/dist-packages/graphsurgeon/init.py", line 9, in
from graphsurgeon.StaticGraph import *
File "/usr/lib/python3.5/dist-packages/graphsurgeon/StaticGraph.py", line 7, in
from graphsurgeon._utils import _regex_list_contains_string, _generate_iterable_for_search, _clean_input_name
File "/usr/lib/python3.5/dist-packages/graphsurgeon/_utils.py", line 2, in
from tensorflow import NodeDef
ImportError: cannot import name 'NodeDef'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions