Tuesday, September 24, 2019

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

Hi,

gr-inspector requires Tensorflow 0.12, other versions' compatibility
can't be guaranteed.
That being said, please note that there are plans to update
gr-inspector to all the fancy new dependencies available [1].

[1] https://github.com/gnuradio/gr-inspector/issues/31

Best,

Sebastian Müller
gsenpo@gmail.com
PGP ID DC2AA3EE

Am 19. September 2019 um 13:53:57, jeff@id-inc.us (jeff@id-inc.us) schrieb:
> I am trying to resurrect this too. I gave up on 18.04 and am trying 16.04.
>
>
>
> We need to uplift the whole thing to newer versions.
>
>
>
> Best regards,
>
> Jeff
>
>
>
> From: Discuss-gnuradio On
> Behalf Of Ali G. Dezfuli
> Sent: Thursday, September 19, 2019 10:30 AM
> To: discuss-gnuradio@gnu.org
> Subject: [Discuss-gnuradio] problem with tensorflow in gr-inspector
>
>
>
> 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
> 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
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment