Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'module' object has no attribute 'deprecated' #4153

Closed
FCInter opened this issue Dec 4, 2016 · 3 comments
Closed

AttributeError: 'module' object has no attribute 'deprecated' #4153

FCInter opened this issue Dec 4, 2016 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@FCInter
Copy link

FCInter commented Dec 4, 2016

  • Pip version: pip 1.5.4
  • Python version: 2.7.6
  • Operating System: Ubuntu 14.04.5 LTS

Description:

I was testing the tutorial example of LSTM here.
I followed the instructions to download the code and dataset, and run the program using the command. But the code cannot execute and reports the error message:
File "ptb_word_lm.py", line 332, in main tf.contrib.deprecated.scalar_summary("Training Loss", m.cost)
AttributeError: 'module' object has no attribute 'deprecated'

What I've run:

I just ran the following commands:
wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz
tar xvf simple-examples.tgz
python ptb_word_lm.py --data_path=simple-examples/data/

I download the code from the github repository.
My tensorflow version is the very latest tensorflow-0.12.0rc0-cp27-none-linux_x86_64.
Why can't I run this example?
Thank you all for your kind help!!!

@yan12125
Copy link
Contributor

yan12125 commented Dec 4, 2016

Seems totolly unrelated to pip. https://github.com/tensorflow/tensorflow/issues is a better place.

@FCInter
Copy link
Author

FCInter commented Dec 4, 2016

OH.. Sorry. I raise it in the wrong place...

@xavfernandez
Copy link
Member

Yup, it seems completely unrelated to pip.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants