AttributeError: 'module' object has no attribute 'histogram_summary'
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:
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?
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.
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 😄