{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/comments/213277422","pull_request_review_id":150078857,"id":213277422,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzI3NzQyMg==","diff_hunk":"@@ -25,6 +25,7 @@\n from tensor2tensor.layers import discretization\n from tensor2tensor.models.research import autoencoders\n from tensor2tensor.rl.envs.in_graph_batch_env import InGraphBatchEnv\n+from tensor2tensor.utils import trainer_lib","path":"tensor2tensor/rl/envs/tf_atari_wrappers.py","position":4,"original_position":4,"commit_id":"17deb0409b8bce58b045d2dac6543cfc1c0ff8fc","original_commit_id":"17deb0409b8bce58b045d2dac6543cfc1c0ff8fc","user":{"login":"koz4k","id":1211366,"node_id":"MDQ6VXNlcjEyMTEzNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1211366?v=4","gravatar_id":"","url":"https://api.github.com/users/koz4k","html_url":"https://github.com/koz4k","followers_url":"https://api.github.com/users/koz4k/followers","following_url":"https://api.github.com/users/koz4k/following{/other_user}","gists_url":"https://api.github.com/users/koz4k/gists{/gist_id}","starred_url":"https://api.github.com/users/koz4k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koz4k/subscriptions","organizations_url":"https://api.github.com/users/koz4k/orgs","repos_url":"https://api.github.com/users/koz4k/repos","events_url":"https://api.github.com/users/koz4k/events{/privacy}","received_events_url":"https://api.github.com/users/koz4k/received_events","type":"User","site_admin":false},"body":"Of course. This import is needed just for the `add_problem_hparams` function, which sets `problem` and `problem_hparams` in model `hparams`. I used this function to avoid code repetition, but I can instead manually set those things to avoid this dependency.","created_at":"2018-08-28T11:34:51Z","updated_at":"2018-08-28T11:34:52Z","html_url":"https://github.com/tensorflow/tensor2tensor/pull/1019#discussion_r213277422","pull_request_url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/comments/213277422"},"html":{"href":"https://github.com/tensorflow/tensor2tensor/pull/1019#discussion_r213277422"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019"}},"in_reply_to_id":213183492},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019","id":210926977,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTI2OTc3","html_url":"https://github.com/tensorflow/tensor2tensor/pull/1019","diff_url":"https://github.com/tensorflow/tensor2tensor/pull/1019.diff","patch_url":"https://github.com/tensorflow/tensor2tensor/pull/1019.patch","issue_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/1019","number":1019,"state":"open","locked":false,"title":"Autoencoder RL experiment fixes","user":{"login":"koz4k","id":1211366,"node_id":"MDQ6VXNlcjEyMTEzNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1211366?v=4","gravatar_id":"","url":"https://api.github.com/users/koz4k","html_url":"https://github.com/koz4k","followers_url":"https://api.github.com/users/koz4k/followers","following_url":"https://api.github.com/users/koz4k/following{/other_user}","gists_url":"https://api.github.com/users/koz4k/gists{/gist_id}","starred_url":"https://api.github.com/users/koz4k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koz4k/subscriptions","organizations_url":"https://api.github.com/users/koz4k/orgs","repos_url":"https://api.github.com/users/koz4k/repos","events_url":"https://api.github.com/users/koz4k/events{/privacy}","received_events_url":"https://api.github.com/users/koz4k/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-26T00:08:02Z","updated_at":"2018-08-28T11:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c93d25667f2af8adf924ee79ffe99eba928ea50a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":946473613,"node_id":"MDU6TGFiZWw5NDY0NzM2MTM=","url":"https://api.github.com/repos/tensorflow/tensor2tensor/labels/cla:%20no","name":"cla: no","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/1019/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensor2tensor/statuses/17deb0409b8bce58b045d2dac6543cfc1c0ff8fc","head":{"label":"koz4k:ae-fix","ref":"ae-fix","sha":"17deb0409b8bce58b045d2dac6543cfc1c0ff8fc","user":{"login":"koz4k","id":1211366,"node_id":"MDQ6VXNlcjEyMTEzNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1211366?v=4","gravatar_id":"","url":"https://api.github.com/users/koz4k","html_url":"https://github.com/koz4k","followers_url":"https://api.github.com/users/koz4k/followers","following_url":"https://api.github.com/users/koz4k/following{/other_user}","gists_url":"https://api.github.com/users/koz4k/gists{/gist_id}","starred_url":"https://api.github.com/users/koz4k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koz4k/subscriptions","organizations_url":"https://api.github.com/users/koz4k/orgs","repos_url":"https://api.github.com/users/koz4k/repos","events_url":"https://api.github.com/users/koz4k/events{/privacy}","received_events_url":"https://api.github.com/users/koz4k/received_events","type":"User","site_admin":false},"repo":{"id":145981891,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU5ODE4OTE=","name":"tensor2tensor","full_name":"koz4k/tensor2tensor","owner":{"login":"koz4k","id":1211366,"node_id":"MDQ6VXNlcjEyMTEzNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1211366?v=4","gravatar_id":"","url":"https://api.github.com/users/koz4k","html_url":"https://github.com/koz4k","followers_url":"https://api.github.com/users/koz4k/followers","following_url":"https://api.github.com/users/koz4k/following{/other_user}","gists_url":"https://api.github.com/users/koz4k/gists{/gist_id}","starred_url":"https://api.github.com/users/koz4k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koz4k/subscriptions","organizations_url":"https://api.github.com/users/koz4k/orgs","repos_url":"https://api.github.com/users/koz4k/repos","events_url":"https://api.github.com/users/koz4k/events{/privacy}","received_events_url":"https://api.github.com/users/koz4k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koz4k/tensor2tensor","description":"A library for generalized sequence to sequence models","fork":true,"url":"https://api.github.com/repos/koz4k/tensor2tensor","forks_url":"https://api.github.com/repos/koz4k/tensor2tensor/forks","keys_url":"https://api.github.com/repos/koz4k/tensor2tensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koz4k/tensor2tensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koz4k/tensor2tensor/teams","hooks_url":"https://api.github.com/repos/koz4k/tensor2tensor/hooks","issue_events_url":"https://api.github.com/repos/koz4k/tensor2tensor/issues/events{/number}","events_url":"https://api.github.com/repos/koz4k/tensor2tensor/events","assignees_url":"https://api.github.com/repos/koz4k/tensor2tensor/assignees{/user}","branches_url":"https://api.github.com/repos/koz4k/tensor2tensor/branches{/branch}","tags_url":"https://api.github.com/repos/koz4k/tensor2tensor/tags","blobs_url":"https://api.github.com/repos/koz4k/tensor2tensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koz4k/tensor2tensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koz4k/tensor2tensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/koz4k/tensor2tensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koz4k/tensor2tensor/statuses/{sha}","languages_url":"https://api.github.com/repos/koz4k/tensor2tensor/languages","stargazers_url":"https://api.github.com/repos/koz4k/tensor2tensor/stargazers","contributors_url":"https://api.github.com/repos/koz4k/tensor2tensor/contributors","subscribers_url":"https://api.github.com/repos/koz4k/tensor2tensor/subscribers","subscription_url":"https://api.github.com/repos/koz4k/tensor2tensor/subscription","commits_url":"https://api.github.com/repos/koz4k/tensor2tensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/koz4k/tensor2tensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/koz4k/tensor2tensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/koz4k/tensor2tensor/issues/comments{/number}","contents_url":"https://api.github.com/repos/koz4k/tensor2tensor/contents/{+path}","compare_url":"https://api.github.com/repos/koz4k/tensor2tensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koz4k/tensor2tensor/merges","archive_url":"https://api.github.com/repos/koz4k/tensor2tensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koz4k/tensor2tensor/downloads","issues_url":"https://api.github.com/repos/koz4k/tensor2tensor/issues{/number}","pulls_url":"https://api.github.com/repos/koz4k/tensor2tensor/pulls{/number}","milestones_url":"https://api.github.com/repos/koz4k/tensor2tensor/milestones{/number}","notifications_url":"https://api.github.com/repos/koz4k/tensor2tensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koz4k/tensor2tensor/labels{/name}","releases_url":"https://api.github.com/repos/koz4k/tensor2tensor/releases{/id}","deployments_url":"https://api.github.com/repos/koz4k/tensor2tensor/deployments","created_at":"2018-08-24T11:13:16Z","updated_at":"2018-08-24T11:13:20Z","pushed_at":"2018-08-27T16:13:33Z","git_url":"git://github.com/koz4k/tensor2tensor.git","ssh_url":"git@github.com:koz4k/tensor2tensor.git","clone_url":"https://github.com/koz4k/tensor2tensor.git","svn_url":"https://github.com/koz4k/tensor2tensor","homepage":null,"size":8924,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"408625068db7f930a4434a1ce079f1503c531483","user":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":94460704,"node_id":"MDEwOlJlcG9zaXRvcnk5NDQ2MDcwNA==","name":"tensor2tensor","full_name":"tensorflow/tensor2tensor","owner":{"login":"tensorflow","id":15658638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjU4NjM4","avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensor2tensor","description":"Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.","fork":false,"url":"https://api.github.com/repos/tensorflow/tensor2tensor","forks_url":"https://api.github.com/repos/tensorflow/tensor2tensor/forks","keys_url":"https://api.github.com/repos/tensorflow/tensor2tensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensor2tensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensor2tensor/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensor2tensor/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensor2tensor/events","assignees_url":"https://api.github.com/repos/tensorflow/tensor2tensor/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensor2tensor/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensor2tensor/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensor2tensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensor2tensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensor2tensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensor2tensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensor2tensor/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensor2tensor/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensor2tensor/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensor2tensor/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensor2tensor/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensor2tensor/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensor2tensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensor2tensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensor2tensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensor2tensor/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensor2tensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensor2tensor/merges","archive_url":"https://api.github.com/repos/tensorflow/tensor2tensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensor2tensor/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensor2tensor/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensor2tensor/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensor2tensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensor2tensor/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensor2tensor/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensor2tensor/deployments","created_at":"2017-06-15T16:57:39Z","updated_at":"2018-08-28T09:47:04Z","pushed_at":"2018-08-28T04:18:45Z","git_url":"git://github.com/tensorflow/tensor2tensor.git","ssh_url":"git@github.com:tensorflow/tensor2tensor.git","clone_url":"https://github.com/tensorflow/tensor2tensor.git","svn_url":"https://github.com/tensorflow/tensor2tensor","homepage":"","size":8850,"stargazers_count":4846,"watchers_count":4846,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1173,"mirror_url":null,"archived":false,"open_issues_count":202,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1173,"open_issues":202,"watchers":4846,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019"},"html":{"href":"https://github.com/tensorflow/tensor2tensor/pull/1019"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/1019"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/issues/1019/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/pulls/1019/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensor2tensor/statuses/17deb0409b8bce58b045d2dac6543cfc1c0ff8fc"}},"author_association":"NONE"}}
{"actor":{"display_login":"koz4k"}}