Skip to content
This repository was archived by the owner on Jan 7, 2023. It is now read-only.
This repository was archived by the owner on Jan 7, 2023. It is now read-only.

AttributeError: module 'tensorflow' has no attribute 'NodeDef' #112

@t0bias112

Description

@t0bias112

Hi,
I am following the tutorial from:
https://intel.github.io/robot_devkit_doc
When I run ./demo/rdk_install.sh

[ ERROR ]  -------------------------------------------------
[ ERROR ]  ----------------- INTERNAL ERROR ----------------
[ ERROR ]  Unexpected exception happened.
[ ERROR ]  Please contact Model Optimizer developers and forward the following information:
[ ERROR ]  module 'tensorflow' has no attribute 'NodeDef'
[ ERROR ]  Traceback (most recent call last):
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/main.py", line 312, in main
    return driver(argv)
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/main.py", line 259, in driver
    import mo.pipeline.tf as mo_tf
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/pipeline/tf.py", line 36, in <module>
    from mo.front.tf.extractor import get_tf_edges, tf_op_extractor, tf_op_extractors
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/front/tf/extractor.py", line 29, in <module>
    from mo.front.tf.extractors.native_tf import native_tf_node_extractor
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/front/tf/extractors/native_tf.py", line 17, in <module>
    from mo.front.tf.partial_infer.tf import tf_native_tf_node_infer
  File "/opt/intel/openvino_2019.1.144/deployment_tools/model_optimizer/mo/front/tf/partial_infer/tf.py", line 148, in <module>
    is_input: bool = False):
AttributeError: module 'tensorflow' has no attribute 'NodeDef'
[ ERROR ]  ---------------- END OF BUG REPORT --------------
[ ERROR ]  -------------------------------------------------

with manual installation, same result.

Also tried to install Tensorflow version 1.14.0

Thanks,
Tobias

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