chingyaoc / photo-editing-tensorflow

Photo Optimizing Adversarial Net with Policy Gradient Method
https://jameschuanggg.github.io/data/photo-optimizing-adversarial.pdf
MIT License
54 stars 12 forks source link

scalar_summary missing #2

Open littlexiang opened 6 years ago

littlexiang commented 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

littlexiang commented 6 years ago

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. 小伙不错加油