Skip to content

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

Open
TITAN-PyCompat wants to merge 6 commits into
CreatCodeBuild:masterfrom
TITAN-PyCompat:FIX_API_USAGE
Open

Fix TensorFlow API usage to be compatible for v0.x and v1.x#36
TITAN-PyCompat wants to merge 6 commits into
CreatCodeBuild:masterfrom
TITAN-PyCompat:FIX_API_USAGE

Conversation

@TITAN-PyCompat

Copy link
Copy Markdown
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

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant