{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4907","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4907/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4907/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4907/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4907","id":182462881,"number":4907,"title":"DeepDream tutorial and TFSlim","user":{"login":"bhack","id":1710528,"avatar_url":"https://avatars.githubusercontent.com/u/1710528?v=3","gravatar_id":"","url":"https://api.github.com/users/bhack","html_url":"https://github.com/bhack","followers_url":"https://api.github.com/users/bhack/followers","following_url":"https://api.github.com/users/bhack/following{/other_user}","gists_url":"https://api.github.com/users/bhack/gists{/gist_id}","starred_url":"https://api.github.com/users/bhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhack/subscriptions","organizations_url":"https://api.github.com/users/bhack/orgs","repos_url":"https://api.github.com/users/bhack/repos","events_url":"https://api.github.com/users/bhack/events{/privacy}","received_events_url":"https://api.github.com/users/bhack/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/contributions%20welcome","name":"contributions welcome","color":"009800"},{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-12T08:18:41Z","updated_at":"2016-10-13T17:31:13Z","closed_at":null,"body":"What do you think to switch the DeepDream tutorial  notebook to MetaGraph? I see that  fine tuning and new inception models are more oriented on tfslim and slim models use the new meta+check point."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/253581888","html_url":"https://github.com/tensorflow/tensorflow/issues/4907#issuecomment-253581888","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4907","id":253581888,"user":{"login":"bhack","id":1710528,"avatar_url":"https://avatars.githubusercontent.com/u/1710528?v=3","gravatar_id":"","url":"https://api.github.com/users/bhack","html_url":"https://github.com/bhack","followers_url":"https://api.github.com/users/bhack/followers","following_url":"https://api.github.com/users/bhack/following{/other_user}","gists_url":"https://api.github.com/users/bhack/gists{/gist_id}","starred_url":"https://api.github.com/users/bhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhack/subscriptions","organizations_url":"https://api.github.com/users/bhack/orgs","repos_url":"https://api.github.com/users/bhack/repos","events_url":"https://api.github.com/users/bhack/events{/privacy}","received_events_url":"https://api.github.com/users/bhack/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T17:31:13Z","updated_at":"2016-10-13T17:31:13Z","body":"I think that we can restore a tfslim model meta and checkpoint using:\r\n```\r\nnew_saver = tf.train.import_meta_graph(<meta_graph>)\r\nnew_saver.restore(sess, <checkpoint>)\r\n```\r\nBut after notebook uses \r\n```\r\ntf.import_graph_def(graph_def, {'input':t_preprocessed})\r\n````\r\nI've tryied to substitute with\r\n\r\n```\r\ntf.import_graph_def(graph.as_graph_def(), {'distort_image/ExpandDims':t_preprocessed})\r\n```\r\nto maintain the next cells code and change only layers names in the notebook but I think that it is not the right way to do it.\r\n"}}
{"actor":{"display_login":"bhack"}}