{"action":"created","comment":{"url":"https://api.github.com/repos/fchollet/keras/pulls/comments/76523833","id":76523833,"diff_hunk":"@@ -43,7 +51,43 @@ def model_to_dot(model, show_shapes=False, show_layer_names=True):\n                     [str(ishape) for ishape in layer.input_shapes])\n             else:\n                 inputlabels = 'multiple'\n-            label = '%s\\n|{input:|output:}|{{%s}|{%s}}' % (label, inputlabels, outputlabels)\n+\n+            def _get_val(stuff):","path":"keras/utils/visualize_util.py","position":23,"original_position":23,"commit_id":"0c56b354b6f47f1b8f05305c9ed57f1bc8a7be22","original_commit_id":"0c56b354b6f47f1b8f05305c9ed57f1bc8a7be22","user":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"body":"`stuff` is not an appropriate variable name.","created_at":"2016-08-27T23:42:52Z","updated_at":"2016-08-27T23:42:52Z","html_url":"https://github.com/fchollet/keras/pull/3365#discussion_r76523833","pull_request_url":"https://api.github.com/repos/fchollet/keras/pulls/3365","_links":{"self":{"href":"https://api.github.com/repos/fchollet/keras/pulls/comments/76523833"},"html":{"href":"https://github.com/fchollet/keras/pull/3365#discussion_r76523833"},"pull_request":{"href":"https://api.github.com/repos/fchollet/keras/pulls/3365"}}},"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/3365","id":79537549,"html_url":"https://github.com/fchollet/keras/pull/3365","diff_url":"https://github.com/fchollet/keras/pull/3365.diff","patch_url":"https://github.com/fchollet/keras/pull/3365.patch","issue_url":"https://api.github.com/repos/fchollet/keras/issues/3365","number":3365,"state":"open","locked":false,"title":"[WIP] Enh vizu","user":{"login":"dohmatob","id":634068,"avatar_url":"https://avatars.githubusercontent.com/u/634068?v=3","gravatar_id":"","url":"https://api.github.com/users/dohmatob","html_url":"https://github.com/dohmatob","followers_url":"https://api.github.com/users/dohmatob/followers","following_url":"https://api.github.com/users/dohmatob/following{/other_user}","gists_url":"https://api.github.com/users/dohmatob/gists{/gist_id}","starred_url":"https://api.github.com/users/dohmatob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohmatob/subscriptions","organizations_url":"https://api.github.com/users/dohmatob/orgs","repos_url":"https://api.github.com/users/dohmatob/repos","events_url":"https://api.github.com/users/dohmatob/events{/privacy}","received_events_url":"https://api.github.com/users/dohmatob/received_events","type":"User","site_admin":false},"body":"The idea is to be able to obtain detailed plots like this:\r\n\r\n![keras_mnist_nnet](https://cloud.githubusercontent.com/assets/634068/17289352/a2310e64-57d9-11e6-8d09-af1bc2a0d688.png)\r\n","created_at":"2016-08-01T09:18:58Z","updated_at":"2016-08-27T23:42:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e837af92a0c79b7f3e745784c68e2b1ff77d0489","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fchollet/keras/pulls/3365/commits","review_comments_url":"https://api.github.com/repos/fchollet/keras/pulls/3365/comments","review_comment_url":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/3365/comments","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/0c56b354b6f47f1b8f05305c9ed57f1bc8a7be22","head":{"label":"dohmatob:enh-vizu","ref":"enh-vizu","sha":"0c56b354b6f47f1b8f05305c9ed57f1bc8a7be22","user":{"login":"dohmatob","id":634068,"avatar_url":"https://avatars.githubusercontent.com/u/634068?v=3","gravatar_id":"","url":"https://api.github.com/users/dohmatob","html_url":"https://github.com/dohmatob","followers_url":"https://api.github.com/users/dohmatob/followers","following_url":"https://api.github.com/users/dohmatob/following{/other_user}","gists_url":"https://api.github.com/users/dohmatob/gists{/gist_id}","starred_url":"https://api.github.com/users/dohmatob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohmatob/subscriptions","organizations_url":"https://api.github.com/users/dohmatob/orgs","repos_url":"https://api.github.com/users/dohmatob/repos","events_url":"https://api.github.com/users/dohmatob/events{/privacy}","received_events_url":"https://api.github.com/users/dohmatob/received_events","type":"User","site_admin":false},"repo":{"id":55638810,"name":"keras","full_name":"dohmatob/keras","owner":{"login":"dohmatob","id":634068,"avatar_url":"https://avatars.githubusercontent.com/u/634068?v=3","gravatar_id":"","url":"https://api.github.com/users/dohmatob","html_url":"https://github.com/dohmatob","followers_url":"https://api.github.com/users/dohmatob/followers","following_url":"https://api.github.com/users/dohmatob/following{/other_user}","gists_url":"https://api.github.com/users/dohmatob/gists{/gist_id}","starred_url":"https://api.github.com/users/dohmatob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dohmatob/subscriptions","organizations_url":"https://api.github.com/users/dohmatob/orgs","repos_url":"https://api.github.com/users/dohmatob/repos","events_url":"https://api.github.com/users/dohmatob/events{/privacy}","received_events_url":"https://api.github.com/users/dohmatob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dohmatob/keras","description":"Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on Theano and TensorFlow.","fork":true,"url":"https://api.github.com/repos/dohmatob/keras","forks_url":"https://api.github.com/repos/dohmatob/keras/forks","keys_url":"https://api.github.com/repos/dohmatob/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dohmatob/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dohmatob/keras/teams","hooks_url":"https://api.github.com/repos/dohmatob/keras/hooks","issue_events_url":"https://api.github.com/repos/dohmatob/keras/issues/events{/number}","events_url":"https://api.github.com/repos/dohmatob/keras/events","assignees_url":"https://api.github.com/repos/dohmatob/keras/assignees{/user}","branches_url":"https://api.github.com/repos/dohmatob/keras/branches{/branch}","tags_url":"https://api.github.com/repos/dohmatob/keras/tags","blobs_url":"https://api.github.com/repos/dohmatob/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dohmatob/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dohmatob/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/dohmatob/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dohmatob/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/dohmatob/keras/languages","stargazers_url":"https://api.github.com/repos/dohmatob/keras/stargazers","contributors_url":"https://api.github.com/repos/dohmatob/keras/contributors","subscribers_url":"https://api.github.com/repos/dohmatob/keras/subscribers","subscription_url":"https://api.github.com/repos/dohmatob/keras/subscription","commits_url":"https://api.github.com/repos/dohmatob/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/dohmatob/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/dohmatob/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/dohmatob/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/dohmatob/keras/contents/{+path}","compare_url":"https://api.github.com/repos/dohmatob/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dohmatob/keras/merges","archive_url":"https://api.github.com/repos/dohmatob/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dohmatob/keras/downloads","issues_url":"https://api.github.com/repos/dohmatob/keras/issues{/number}","pulls_url":"https://api.github.com/repos/dohmatob/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/dohmatob/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/dohmatob/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dohmatob/keras/labels{/name}","releases_url":"https://api.github.com/repos/dohmatob/keras/releases{/id}","deployments_url":"https://api.github.com/repos/dohmatob/keras/deployments","created_at":"2016-04-06T20:37:18Z","updated_at":"2016-04-06T20:37:19Z","pushed_at":"2016-08-01T13:26:13Z","git_url":"git://github.com/dohmatob/keras.git","ssh_url":"git@github.com:dohmatob/keras.git","clone_url":"https://github.com/dohmatob/keras.git","svn_url":"https://github.com/dohmatob/keras","homepage":"http://keras.io/","size":4842,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fchollet:master","ref":"master","sha":"a9fc2bed49c7988ccd6d365c1542818172b64ffe","user":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"repo":{"id":33015583,"name":"keras","full_name":"fchollet/keras","owner":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fchollet/keras","description":"Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on Theano or TensorFlow.","fork":false,"url":"https://api.github.com/repos/fchollet/keras","forks_url":"https://api.github.com/repos/fchollet/keras/forks","keys_url":"https://api.github.com/repos/fchollet/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fchollet/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fchollet/keras/teams","hooks_url":"https://api.github.com/repos/fchollet/keras/hooks","issue_events_url":"https://api.github.com/repos/fchollet/keras/issues/events{/number}","events_url":"https://api.github.com/repos/fchollet/keras/events","assignees_url":"https://api.github.com/repos/fchollet/keras/assignees{/user}","branches_url":"https://api.github.com/repos/fchollet/keras/branches{/branch}","tags_url":"https://api.github.com/repos/fchollet/keras/tags","blobs_url":"https://api.github.com/repos/fchollet/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fchollet/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fchollet/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/fchollet/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/fchollet/keras/languages","stargazers_url":"https://api.github.com/repos/fchollet/keras/stargazers","contributors_url":"https://api.github.com/repos/fchollet/keras/contributors","subscribers_url":"https://api.github.com/repos/fchollet/keras/subscribers","subscription_url":"https://api.github.com/repos/fchollet/keras/subscription","commits_url":"https://api.github.com/repos/fchollet/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/fchollet/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/fchollet/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/fchollet/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/fchollet/keras/contents/{+path}","compare_url":"https://api.github.com/repos/fchollet/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fchollet/keras/merges","archive_url":"https://api.github.com/repos/fchollet/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fchollet/keras/downloads","issues_url":"https://api.github.com/repos/fchollet/keras/issues{/number}","pulls_url":"https://api.github.com/repos/fchollet/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/fchollet/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/fchollet/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fchollet/keras/labels{/name}","releases_url":"https://api.github.com/repos/fchollet/keras/releases{/id}","deployments_url":"https://api.github.com/repos/fchollet/keras/deployments","created_at":"2015-03-28T00:35:42Z","updated_at":"2016-08-27T18:57:43Z","pushed_at":"2016-08-27T16:45:32Z","git_url":"git://github.com/fchollet/keras.git","ssh_url":"git@github.com:fchollet/keras.git","clone_url":"https://github.com/fchollet/keras.git","svn_url":"https://github.com/fchollet/keras","homepage":"http://keras.io/","size":105885,"stargazers_count":7829,"watchers_count":7829,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2372,"mirror_url":null,"open_issues_count":1273,"forks":2372,"open_issues":1273,"watchers":7829,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fchollet/keras/pulls/3365"},"html":{"href":"https://github.com/fchollet/keras/pull/3365"},"issue":{"href":"https://api.github.com/repos/fchollet/keras/issues/3365"},"comments":{"href":"https://api.github.com/repos/fchollet/keras/issues/3365/comments"},"review_comments":{"href":"https://api.github.com/repos/fchollet/keras/pulls/3365/comments"},"review_comment":{"href":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fchollet/keras/pulls/3365/commits"},"statuses":{"href":"https://api.github.com/repos/fchollet/keras/statuses/0c56b354b6f47f1b8f05305c9ed57f1bc8a7be22"}}}}
{"actor":{"display_login":"fchollet"}}