Open littlexiang opened 6 years ago
The tf.scalar_summary() function was moved in the master branch, after the 0.12 release. You can now find it as tf.summary.scalar().
see https://stackoverflow.com/questions/41066244/tensorflow-module-object-has-no-attribute-scalar-summary
I found you did some compatible check in ops.py but not in cnn.py. I did some fix so it could run on my MBP. Not a big problem. 小伙不错加油
The tf.scalar_summary() function was moved in the master branch, after the 0.12 release. You can now find it as tf.summary.scalar().
see https://stackoverflow.com/questions/41066244/tensorflow-module-object-has-no-attribute-scalar-summary