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

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

Open
t0bias112 opened this issue Sep 25, 2020 · 0 comments
Open

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

t0bias112 opened this issue Sep 25, 2020 · 0 comments

Comments

@t0bias112
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant