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?