{"action":"created","comment":{"url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/comments/78865677","id":78865677,"diff_hunk":"@@ -20,39 +20,40 @@ def _create_dilation_layer(self, input_batch, layer_index, dilation):\n         '''Adds a single causal dilated convolution layer.'''\n \n         # The filter widths can be configured as a hyperparameter.\n-        wf = tf.Variable(tf.truncated_normal(\n-            [1, self.filter_width, 256, 256],\n+        weights_filter = tf.Variable(tf.truncated_normal(\n+            [1, self.filter_width, self.channels, self.channels],\n             stddev=0.2,\n             name=\"filter\"))\n-        wg = tf.Variable(tf.truncated_normal(\n-            [1, self.filter_width, 256, 256],\n+        weights_gate = tf.Variable(tf.truncated_normal(\n+            [1, self.filter_width, self.channels, self.channels],","path":"wavenet.py","position":13,"original_position":13,"commit_id":"17c625b220f0a63abed1e355d101822212fc5506","original_commit_id":"17c625b220f0a63abed1e355d101822212fc5506","user":{"login":"lemonzi","id":3180006,"avatar_url":"https://avatars.githubusercontent.com/u/3180006?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonzi","html_url":"https://github.com/lemonzi","followers_url":"https://api.github.com/users/lemonzi/followers","following_url":"https://api.github.com/users/lemonzi/following{/other_user}","gists_url":"https://api.github.com/users/lemonzi/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonzi/subscriptions","organizations_url":"https://api.github.com/users/lemonzi/orgs","repos_url":"https://api.github.com/users/lemonzi/repos","events_url":"https://api.github.com/users/lemonzi/events{/privacy}","received_events_url":"https://api.github.com/users/lemonzi/received_events","type":"User","site_admin":false},"body":"Same here.","created_at":"2016-09-14T23:46:22Z","updated_at":"2016-09-14T23:47:19Z","html_url":"https://github.com/ibab/tensorflow-wavenet/pull/11#discussion_r78865677","pull_request_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/comments/78865677"},"html":{"href":"https://github.com/ibab/tensorflow-wavenet/pull/11#discussion_r78865677"},"pull_request":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11","id":85323915,"html_url":"https://github.com/ibab/tensorflow-wavenet/pull/11","diff_url":"https://github.com/ibab/tensorflow-wavenet/pull/11.diff","patch_url":"https://github.com/ibab/tensorflow-wavenet/pull/11.patch","issue_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/11","number":11,"state":"open","locked":false,"title":"Read network parameters from an external file","user":{"login":"lemonzi","id":3180006,"avatar_url":"https://avatars.githubusercontent.com/u/3180006?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonzi","html_url":"https://github.com/lemonzi","followers_url":"https://api.github.com/users/lemonzi/followers","following_url":"https://api.github.com/users/lemonzi/following{/other_user}","gists_url":"https://api.github.com/users/lemonzi/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonzi/subscriptions","organizations_url":"https://api.github.com/users/lemonzi/orgs","repos_url":"https://api.github.com/users/lemonzi/repos","events_url":"https://api.github.com/users/lemonzi/events{/privacy}","received_events_url":"https://api.github.com/users/lemonzi/received_events","type":"User","site_admin":false},"body":"Loading the model parameters (dilation, etc.) from an external file will make it much easier to reuse the weights from the checkpoint in the audio generation scripts.\r\n\r\nThere are also other misc edits, mostly related to readability and documentation.\r\n\r\nThis time I properly checked that everything works :)","created_at":"2016-09-14T23:32:32Z","updated_at":"2016-09-14T23:47:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b8a921b66e961ffd9919fa9825285627177c0ac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/11/comments","statuses_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/statuses/17c625b220f0a63abed1e355d101822212fc5506","head":{"label":"lemonzi:generative","ref":"generative","sha":"17c625b220f0a63abed1e355d101822212fc5506","user":{"login":"lemonzi","id":3180006,"avatar_url":"https://avatars.githubusercontent.com/u/3180006?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonzi","html_url":"https://github.com/lemonzi","followers_url":"https://api.github.com/users/lemonzi/followers","following_url":"https://api.github.com/users/lemonzi/following{/other_user}","gists_url":"https://api.github.com/users/lemonzi/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonzi/subscriptions","organizations_url":"https://api.github.com/users/lemonzi/orgs","repos_url":"https://api.github.com/users/lemonzi/repos","events_url":"https://api.github.com/users/lemonzi/events{/privacy}","received_events_url":"https://api.github.com/users/lemonzi/received_events","type":"User","site_admin":false},"repo":{"id":68219881,"name":"tensorflow-wavenet","full_name":"lemonzi/tensorflow-wavenet","owner":{"login":"lemonzi","id":3180006,"avatar_url":"https://avatars.githubusercontent.com/u/3180006?v=3","gravatar_id":"","url":"https://api.github.com/users/lemonzi","html_url":"https://github.com/lemonzi","followers_url":"https://api.github.com/users/lemonzi/followers","following_url":"https://api.github.com/users/lemonzi/following{/other_user}","gists_url":"https://api.github.com/users/lemonzi/gists{/gist_id}","starred_url":"https://api.github.com/users/lemonzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemonzi/subscriptions","organizations_url":"https://api.github.com/users/lemonzi/orgs","repos_url":"https://api.github.com/users/lemonzi/repos","events_url":"https://api.github.com/users/lemonzi/events{/privacy}","received_events_url":"https://api.github.com/users/lemonzi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lemonzi/tensorflow-wavenet","description":"A TensorFlow implementation of DeepMind's WaveNet paper","fork":true,"url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet","forks_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/forks","keys_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/teams","hooks_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/hooks","issue_events_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/issues/events{/number}","events_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/events","assignees_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/assignees{/user}","branches_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/branches{/branch}","tags_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/tags","blobs_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/git/refs{/sha}","trees_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/statuses/{sha}","languages_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/languages","stargazers_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/stargazers","contributors_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/contributors","subscribers_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/subscribers","subscription_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/subscription","commits_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/commits{/sha}","git_commits_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/git/commits{/sha}","comments_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/comments{/number}","issue_comment_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/issues/comments{/number}","contents_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/contents/{+path}","compare_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/merges","archive_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/downloads","issues_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/issues{/number}","pulls_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/pulls{/number}","milestones_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/milestones{/number}","notifications_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/labels{/name}","releases_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/releases{/id}","deployments_url":"https://api.github.com/repos/lemonzi/tensorflow-wavenet/deployments","created_at":"2016-09-14T15:47:16Z","updated_at":"2016-09-14T15:47:17Z","pushed_at":"2016-09-14T23:32:13Z","git_url":"git://github.com/lemonzi/tensorflow-wavenet.git","ssh_url":"git@github.com:lemonzi/tensorflow-wavenet.git","clone_url":"https://github.com/lemonzi/tensorflow-wavenet.git","svn_url":"https://github.com/lemonzi/tensorflow-wavenet","homepage":null,"size":40,"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":"ibab:master","ref":"master","sha":"bea6763984db65cf5f6b23e6196a168106ca9469","user":{"login":"ibab","id":890531,"avatar_url":"https://avatars.githubusercontent.com/u/890531?v=3","gravatar_id":"","url":"https://api.github.com/users/ibab","html_url":"https://github.com/ibab","followers_url":"https://api.github.com/users/ibab/followers","following_url":"https://api.github.com/users/ibab/following{/other_user}","gists_url":"https://api.github.com/users/ibab/gists{/gist_id}","starred_url":"https://api.github.com/users/ibab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibab/subscriptions","organizations_url":"https://api.github.com/users/ibab/orgs","repos_url":"https://api.github.com/users/ibab/repos","events_url":"https://api.github.com/users/ibab/events{/privacy}","received_events_url":"https://api.github.com/users/ibab/received_events","type":"User","site_admin":false},"repo":{"id":68013171,"name":"tensorflow-wavenet","full_name":"ibab/tensorflow-wavenet","owner":{"login":"ibab","id":890531,"avatar_url":"https://avatars.githubusercontent.com/u/890531?v=3","gravatar_id":"","url":"https://api.github.com/users/ibab","html_url":"https://github.com/ibab","followers_url":"https://api.github.com/users/ibab/followers","following_url":"https://api.github.com/users/ibab/following{/other_user}","gists_url":"https://api.github.com/users/ibab/gists{/gist_id}","starred_url":"https://api.github.com/users/ibab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibab/subscriptions","organizations_url":"https://api.github.com/users/ibab/orgs","repos_url":"https://api.github.com/users/ibab/repos","events_url":"https://api.github.com/users/ibab/events{/privacy}","received_events_url":"https://api.github.com/users/ibab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ibab/tensorflow-wavenet","description":"A TensorFlow implementation of DeepMind's WaveNet paper","fork":false,"url":"https://api.github.com/repos/ibab/tensorflow-wavenet","forks_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/forks","keys_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/teams","hooks_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/hooks","issue_events_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/events{/number}","events_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/events","assignees_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/assignees{/user}","branches_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/branches{/branch}","tags_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/tags","blobs_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/statuses/{sha}","languages_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/languages","stargazers_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/stargazers","contributors_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/contributors","subscribers_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/subscribers","subscription_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/subscription","commits_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/contents/{+path}","compare_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/merges","archive_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/downloads","issues_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues{/number}","pulls_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls{/number}","milestones_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/milestones{/number}","notifications_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/labels{/name}","releases_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/releases{/id}","deployments_url":"https://api.github.com/repos/ibab/tensorflow-wavenet/deployments","created_at":"2016-09-12T13:50:45Z","updated_at":"2016-09-14T23:47:00Z","pushed_at":"2016-09-14T23:32:33Z","git_url":"git://github.com/ibab/tensorflow-wavenet.git","ssh_url":"git@github.com:ibab/tensorflow-wavenet.git","clone_url":"https://github.com/ibab/tensorflow-wavenet.git","svn_url":"https://github.com/ibab/tensorflow-wavenet","homepage":null,"size":40,"stargazers_count":407,"watchers_count":407,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":4,"forks":31,"open_issues":4,"watchers":407,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11"},"html":{"href":"https://github.com/ibab/tensorflow-wavenet/pull/11"},"issue":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/11"},"comments":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ibab/tensorflow-wavenet/statuses/17c625b220f0a63abed1e355d101822212fc5506"}}}}
{"actor":{"display_login":"lemonzi"}}