discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] problem with tensorflow in gr-inspector


From: Ali G. Dezfuli
Subject: [Discuss-gnuradio] problem with tensorflow in gr-inspector
Date: Thu, 19 Sep 2019 10:29:55 -0400

Dear friends,
I have a problem installing gr-inspector.
I am using ubuntu 18.04
having gnuradio v3.7.9.3 installed (removing all the updates and installed just this)
pip version is :
$ pip --version
"pip 19.2.3 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)"

>>> tf.__version__
'1.14.0'
>>>

the error report in grc when running for example "amc_cnn.grc" is this:

Loading: "/home/masoud/opt/gr-inspector/examples/amc_cnn.grc"
>>> Done

Showing: "/home/masoud/opt/gr-inspector/examples/amc_cnn.grc"

Generating: '/home/masoud/opt/gr-inspector/examples/top_block.py'

Executing: /usr/bin/python2 -u /home/masoud/opt/gr-inspector/examples/top_block.py

WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/inspector/tfmodel_vcf.py:80: load_session_bundle_from_path (from tensorflow.contrib.session_bundle.session_bundle) is deprecated and will be removed after 2017-06-30.
Instructions for updating:
No longer supported. Switch to SavedModel immediately.
Traceback (most recent call last):
  File "/home/masoud/opt/gr-inspector/examples/top_block.py", line 138, in <module>
    main()
  File "/home/masoud/opt/gr-inspector/examples/top_block.py", line 126, in main
    tb = top_block_cls()
  File "/home/masoud/opt/gr-inspector/examples/top_block.py", line 73, in __init__
    self.inspector_tfmodel_vcf_0 = inspector.tfmodel_vcf("complex64",128,"/tmp/cnn/00000001",(),0)
  File "/usr/local/lib/python2.7/dist-packages/inspector/tfmodel_vcf.py", line 64, in __init__
    sess, inp, out,classes = self.load_graph(graphfile)
  File "/usr/local/lib/python2.7/dist-packages/inspector/tfmodel_vcf.py", line 80, in load_graph
    output_graph_path)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 324, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/session_bundle/session_bundle.py", line 87, in load_session_bundle_from_path
    meta_graph_filename)
RuntimeError: Expected meta graph file missing /tmp/cnn/00000001/export.meta


would be grateful if you could possibly help me with this.
regards
Ali

reply via email to

[Prev in Thread] Current Thread [Next in Thread]