{"action":"opened","issue":{"url":"https://api.github.com/repos/nfmcclure/tensorflow_cookbook/issues/27","repository_url":"https://api.github.com/repos/nfmcclure/tensorflow_cookbook","labels_url":"https://api.github.com/repos/nfmcclure/tensorflow_cookbook/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/nfmcclure/tensorflow_cookbook/issues/27/comments","events_url":"https://api.github.com/repos/nfmcclure/tensorflow_cookbook/issues/27/events","html_url":"https://github.com/nfmcclure/tensorflow_cookbook/issues/27","id":211897185,"number":27,"title":"ipython notebook tensorboard outputs","user":{"login":"slcott","id":3630176,"avatar_url":"https://avatars3.githubusercontent.com/u/3630176?v=3","gravatar_id":"","url":"https://api.github.com/users/slcott","html_url":"https://github.com/slcott","followers_url":"https://api.github.com/users/slcott/followers","following_url":"https://api.github.com/users/slcott/following{/other_user}","gists_url":"https://api.github.com/users/slcott/gists{/gist_id}","starred_url":"https://api.github.com/users/slcott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slcott/subscriptions","organizations_url":"https://api.github.com/users/slcott/orgs","repos_url":"https://api.github.com/users/slcott/repos","events_url":"https://api.github.com/users/slcott/events{/privacy}","received_events_url":"https://api.github.com/users/slcott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-04T18:23:37Z","updated_at":"2017-03-04T18:23:37Z","closed_at":null,"body":"Looks like the ipynb files are using some deprecated functions:\r\n\r\nFor section: **Create and Format Tensorboard outputs for viewing**\r\n\r\nError:\r\n> AttributeError                            Traceback (most recent call last)\r\n<ipython-input-9-961aa540430d> in <module>()\r\n----> 1 merged = tf.merge_all_summaries()\r\n      2 \r\n      3 if not os.path.exists('tensorboard_logs/'):\r\n      4     os.makedirs('tensorboard_logs/')\r\n      5 \r\n\r\n> AttributeError: module 'tensorflow' has no attribute 'merge_all_summaries'\r\n\r\nthe following change fixes it:\r\n```\r\n# merged = tf.merge_all_summaries()\r\nmerged = tf.summary.merge_all(key='summaries')\r\n```\r\n\r\nError:\r\n> AttributeError                            Traceback (most recent call last)\r\n<ipython-input-12-35196dde9972> in <module>()\r\n      6 \r\n      7 \r\n----> 8 my_writer = tf.train.SummaryWriter('tensorboard_logs/', sess.graph)\r\n      9 # my_writer = tf.summary.FileWriter('tensorboard_logs/', sess.graph)\r\n\r\n> AttributeError: module 'tensorflow.python.training.training' has no attribute 'SummaryWriter'\r\n\r\nthe following change fixes it:\r\n```\r\n# my_writer = tf.train.SummaryWriter('tensorboard_logs/', sess.graph)\r\nmy_writer = tf.summary.FileWriter('tensorboard_logs/', sess.graph)\r\n```\r\n\r\n"}}
{"actor":{"display_login":"slcott"}}