Upgrade to sugartensor 0.0.2.0
See original GitHub issueThanks for making this project!
I found that I needed to use the version of sugartensor 0.0.1.9.
Using 0.0.2.0 I get the following error when running recognize.py
INFO:tensorflow:1202:21:10:24.229:data.py:60] VCTK corpus loaded.(total data=36395, total batch=2274)
Traceback (most recent call last):
File "recognize.py", line 62, in <module>
z = x.sg_conv1d(size=1, dim=num_dim, act='tanh', bn=True)
File "/Users/-------/anaconda3/envs/py27/lib/python2.7/site-packages/sugartensor/sg_main.py", line 147, in wrapper
for t in tf.global_variables():
AttributeError: 'module' object has no attribute 'global_variables'
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
sugartensor - PyPI
A slim tensorflow wrapper that provides syntactic sugar for tensor variables.
Read more >Upgrading tf.contrib.slim manually to tf 2.0 - Stack Overflow
I have a problem with my python code that uses tf.contrib.slim functionalities and no longer works after upgrading to tensorflow to 2.0.
Read more >sugartensor.sg_transform module - GitHub Pages
Computes the “logical and” of elements across axis of a tensor. See tf.reduce_all() in tensorflow. Args: tensor: A Tensor (automatically given ...
Read more >Upgrading your code to TensorFlow 2.0
Note: tf_upgrade_v2 is installed automatically by pip install for TensorFlow 1.13 and later (incl. the nightly 2.0 builds). The upgrade script ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
i am using tensorflow-2.0.0 and python-3.6.5, i haven’t have of your problems but actually i also met some troubles on the code, my path of the LJSPeech is always wrong. What should i do
—Original— From: “aryachiranjeev”<notifications@github.com> Date: Mon, Nov 11, 2019 05:01 AM To: “buriburisuri/speech-to-text-wavenet”<speech-to-text-wavenet@noreply.github.com>; Cc: “Subscribed”<subscribed@noreply.github.com>; Subject: Re: [buriburisuri/speech-to-text-wavenet] Upgrade to sugartensor 0.0.2.0 (#15)
i am using tensorflow version - 1.12.0 and python-3.5.2 and i am using sugartensor -0.0.1.9 but i am getting error AttributeError: module ‘tensorflow’ has no attribute ‘core’ on importing sugartensor so which sugartensor version should i use
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.