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 'histogram_summary' #3

Open
hiteshvaidya opened this issue Feb 19, 2017 · 2 comments

Comments

@hiteshvaidya
Copy link

hiteshvaidya commented Feb 19, 2017

This error is while running MagnitudeBased.py (https://github.com/shekkizh/TensorflowProjects/blob/master/Model_Pruning/MagnitudeBased.py)

Following is the screenshot of the error:
image
The syntax tf.histogram_summary is used in TensorflowUtils.py which is a dependency for MagnitudeBased.py
I tried upgrading tensorflow but it didn't solve the issue. Can you please help me to solve this error?

@hiteshvaidya
Copy link
Author

Dude you seriously need to update your code. A lot of changes have happened in tensorflow. Its difficult to replace the old syntax with new one. But thanks for writing this code. I can't complain over free stuff, so just suggesting improvements.

@shekkizh
Copy link
Owner

Hi @hiteshvaidya,
I wrote these code for experimenting with different ideas when tensorflow was fairly young. I'm aware of changes in tensorflow but haven't really got around to updating all my previous code. I would be happy to review and merge pull requests of code updates for compatibility with newer version of tensorflow.
Sorry for the troubles 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants