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

Fix TensorFlow API usage to be compatible for v0.x and v1.x #36

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

TITAN-PyCompat
Copy link
Contributor

Dear developers,

I found some detrimental usages of TensorFlow API which might lead to severe problems like crashes when users use different version of tensorflow.

As I fixed in the code: the APIs tf.image_summary, tf.scalar_summary, tf.merge_summary, tf.histogram_summary,tf.merge_all_summaries have been deprecated in tf v0.12.0 and been deleted since v1.0.0. It's better to change to the following APIs tf.summary.image, tf.summary.scalar, tf.summary.merge, tf.summary.histogram, tf.summary.merge_all

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

Successfully merging this pull request may close these issues.

1 participant