question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to sugartensor 0.0.2.0

See original GitHub issue

Thanks 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:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Spiritdudecommented, Dec 9, 2016

+1

pip uninstall sugartensor
pip install -Iv sugartensor==0.0.1.9
0reactions
alison0303commented, Nov 10, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bountysource
Upgrade to sugartensor 0.0.2.0.
Read more >
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found