{"action":"created","comment":{"url":"https://api.github.com/repos/rlworkgroup/garage/pulls/comments/279512949","pull_request_review_id":231851817,"id":279512949,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3OTUxMjk0OQ==","diff_hunk":"@@ -25,13 +25,14 @@ def __init__(self,\n                  optimizer=None,\n                  optimizer_args=None,\n                  **kwargs):\n+        self.quick_init(locals())","path":"garage/tf/algos/trpo.py","position":15,"original_position":15,"commit_id":"fca140552284b741768313e3824ee0f2ef097964","original_commit_id":"fca140552284b741768313e3824ee0f2ef097964","user":{"login":"krzentner","id":41180126,"node_id":"MDQ6VXNlcjQxMTgwMTI2","avatar_url":"https://avatars2.githubusercontent.com/u/41180126?v=4","gravatar_id":"","url":"https://api.github.com/users/krzentner","html_url":"https://github.com/krzentner","followers_url":"https://api.github.com/users/krzentner/followers","following_url":"https://api.github.com/users/krzentner/following{/other_user}","gists_url":"https://api.github.com/users/krzentner/gists{/gist_id}","starred_url":"https://api.github.com/users/krzentner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzentner/subscriptions","organizations_url":"https://api.github.com/users/krzentner/orgs","repos_url":"https://api.github.com/users/krzentner/repos","events_url":"https://api.github.com/users/krzentner/events{/privacy}","received_events_url":"https://api.github.com/users/krzentner/received_events","type":"User","site_admin":false},"body":"Please leave a comment listing the fields that cannot be pickled without this.","created_at":"2019-04-29T19:52:11Z","updated_at":"2019-04-29T19:59:21Z","html_url":"https://github.com/rlworkgroup/garage/pull/633#discussion_r279512949","pull_request_url":"https://api.github.com/repos/rlworkgroup/garage/pulls/633","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/comments/279512949"},"html":{"href":"https://github.com/rlworkgroup/garage/pull/633#discussion_r279512949"},"pull_request":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/633"}}},"pull_request":{"url":"https://api.github.com/repos/rlworkgroup/garage/pulls/633","id":272924583,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcyOTI0NTgz","html_url":"https://github.com/rlworkgroup/garage/pull/633","diff_url":"https://github.com/rlworkgroup/garage/pull/633.diff","patch_url":"https://github.com/rlworkgroup/garage/pull/633.patch","issue_url":"https://api.github.com/repos/rlworkgroup/garage/issues/633","number":633,"state":"open","locked":false,"title":"Fix experiment resuming","user":{"login":"naeioi","id":8409272,"node_id":"MDQ6VXNlcjg0MDkyNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/8409272?v=4","gravatar_id":"","url":"https://api.github.com/users/naeioi","html_url":"https://github.com/naeioi","followers_url":"https://api.github.com/users/naeioi/followers","following_url":"https://api.github.com/users/naeioi/following{/other_user}","gists_url":"https://api.github.com/users/naeioi/gists{/gist_id}","starred_url":"https://api.github.com/users/naeioi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naeioi/subscriptions","organizations_url":"https://api.github.com/users/naeioi/orgs","repos_url":"https://api.github.com/users/naeioi/repos","events_url":"https://api.github.com/users/naeioi/events{/privacy}","received_events_url":"https://api.github.com/users/naeioi/received_events","type":"User","site_admin":false},"body":"The PR fixes experiment resuming. There are 3 ways supported to resume an interrupted experiment.\r\n\r\n1. Resume experiment immediately.\r\n```\r\n with LocalRunner() as runner:\r\n    runner.restore(snapshot_dir)\r\n```\r\n2. Resume experiment with modified training arguments.\r\n```\r\nwith LocalRunner() as runner:\r\n    args = runner.restore(snapshot_dir, resume_now=False)\r\n    args['n_epochs'] = 20\r\n    runner.train(**args)\r\n```\r\n\r\n3. Resume via command line.\r\n```\r\n./examples/resume_training.py --snapshot_dir /saved/dir\r\n```","created_at":"2019-04-23T23:17:30Z","updated_at":"2019-04-29T19:59:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29a4dd2bab999de699a427689556ce9b554a22d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rlworkgroup/garage/pulls/633/commits","review_comments_url":"https://api.github.com/repos/rlworkgroup/garage/pulls/633/comments","review_comment_url":"https://api.github.com/repos/rlworkgroup/garage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rlworkgroup/garage/issues/633/comments","statuses_url":"https://api.github.com/repos/rlworkgroup/garage/statuses/fca140552284b741768313e3824ee0f2ef097964","head":{"label":"rlworkgroup:fix_resume","ref":"fix_resume","sha":"fca140552284b741768313e3824ee0f2ef097964","user":{"login":"rlworkgroup","id":39808070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODA4MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/39808070?v=4","gravatar_id":"","url":"https://api.github.com/users/rlworkgroup","html_url":"https://github.com/rlworkgroup","followers_url":"https://api.github.com/users/rlworkgroup/followers","following_url":"https://api.github.com/users/rlworkgroup/following{/other_user}","gists_url":"https://api.github.com/users/rlworkgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/rlworkgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlworkgroup/subscriptions","organizations_url":"https://api.github.com/users/rlworkgroup/orgs","repos_url":"https://api.github.com/users/rlworkgroup/repos","events_url":"https://api.github.com/users/rlworkgroup/events{/privacy}","received_events_url":"https://api.github.com/users/rlworkgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":136846372,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NDYzNzI=","name":"garage","full_name":"rlworkgroup/garage","private":false,"owner":{"login":"rlworkgroup","id":39808070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODA4MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/39808070?v=4","gravatar_id":"","url":"https://api.github.com/users/rlworkgroup","html_url":"https://github.com/rlworkgroup","followers_url":"https://api.github.com/users/rlworkgroup/followers","following_url":"https://api.github.com/users/rlworkgroup/following{/other_user}","gists_url":"https://api.github.com/users/rlworkgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/rlworkgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlworkgroup/subscriptions","organizations_url":"https://api.github.com/users/rlworkgroup/orgs","repos_url":"https://api.github.com/users/rlworkgroup/repos","events_url":"https://api.github.com/users/rlworkgroup/events{/privacy}","received_events_url":"https://api.github.com/users/rlworkgroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rlworkgroup/garage","description":"A framework for reproducible reinforcement learning research","fork":false,"url":"https://api.github.com/repos/rlworkgroup/garage","forks_url":"https://api.github.com/repos/rlworkgroup/garage/forks","keys_url":"https://api.github.com/repos/rlworkgroup/garage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rlworkgroup/garage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rlworkgroup/garage/teams","hooks_url":"https://api.github.com/repos/rlworkgroup/garage/hooks","issue_events_url":"https://api.github.com/repos/rlworkgroup/garage/issues/events{/number}","events_url":"https://api.github.com/repos/rlworkgroup/garage/events","assignees_url":"https://api.github.com/repos/rlworkgroup/garage/assignees{/user}","branches_url":"https://api.github.com/repos/rlworkgroup/garage/branches{/branch}","tags_url":"https://api.github.com/repos/rlworkgroup/garage/tags","blobs_url":"https://api.github.com/repos/rlworkgroup/garage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rlworkgroup/garage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rlworkgroup/garage/git/refs{/sha}","trees_url":"https://api.github.com/repos/rlworkgroup/garage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rlworkgroup/garage/statuses/{sha}","languages_url":"https://api.github.com/repos/rlworkgroup/garage/languages","stargazers_url":"https://api.github.com/repos/rlworkgroup/garage/stargazers","contributors_url":"https://api.github.com/repos/rlworkgroup/garage/contributors","subscribers_url":"https://api.github.com/repos/rlworkgroup/garage/subscribers","subscription_url":"https://api.github.com/repos/rlworkgroup/garage/subscription","commits_url":"https://api.github.com/repos/rlworkgroup/garage/commits{/sha}","git_commits_url":"https://api.github.com/repos/rlworkgroup/garage/git/commits{/sha}","comments_url":"https://api.github.com/repos/rlworkgroup/garage/comments{/number}","issue_comment_url":"https://api.github.com/repos/rlworkgroup/garage/issues/comments{/number}","contents_url":"https://api.github.com/repos/rlworkgroup/garage/contents/{+path}","compare_url":"https://api.github.com/repos/rlworkgroup/garage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rlworkgroup/garage/merges","archive_url":"https://api.github.com/repos/rlworkgroup/garage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rlworkgroup/garage/downloads","issues_url":"https://api.github.com/repos/rlworkgroup/garage/issues{/number}","pulls_url":"https://api.github.com/repos/rlworkgroup/garage/pulls{/number}","milestones_url":"https://api.github.com/repos/rlworkgroup/garage/milestones{/number}","notifications_url":"https://api.github.com/repos/rlworkgroup/garage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rlworkgroup/garage/labels{/name}","releases_url":"https://api.github.com/repos/rlworkgroup/garage/releases{/id}","deployments_url":"https://api.github.com/repos/rlworkgroup/garage/deployments","created_at":"2018-06-10T21:31:23Z","updated_at":"2019-04-28T11:27:48Z","pushed_at":"2019-04-29T19:26:28Z","git_url":"git://github.com/rlworkgroup/garage.git","ssh_url":"git@github.com:rlworkgroup/garage.git","clone_url":"https://github.com/rlworkgroup/garage.git","svn_url":"https://github.com/rlworkgroup/garage","homepage":"","size":9827,"stargazers_count":306,"watchers_count":306,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":45,"open_issues":96,"watchers":306,"default_branch":"master"}},"base":{"label":"rlworkgroup:master","ref":"master","sha":"e2c22d45ea1cde1802c41314a76a4501913c3f0c","user":{"login":"rlworkgroup","id":39808070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODA4MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/39808070?v=4","gravatar_id":"","url":"https://api.github.com/users/rlworkgroup","html_url":"https://github.com/rlworkgroup","followers_url":"https://api.github.com/users/rlworkgroup/followers","following_url":"https://api.github.com/users/rlworkgroup/following{/other_user}","gists_url":"https://api.github.com/users/rlworkgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/rlworkgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlworkgroup/subscriptions","organizations_url":"https://api.github.com/users/rlworkgroup/orgs","repos_url":"https://api.github.com/users/rlworkgroup/repos","events_url":"https://api.github.com/users/rlworkgroup/events{/privacy}","received_events_url":"https://api.github.com/users/rlworkgroup/received_events","type":"Organization","site_admin":false},"repo":{"id":136846372,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NDYzNzI=","name":"garage","full_name":"rlworkgroup/garage","private":false,"owner":{"login":"rlworkgroup","id":39808070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODA4MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/39808070?v=4","gravatar_id":"","url":"https://api.github.com/users/rlworkgroup","html_url":"https://github.com/rlworkgroup","followers_url":"https://api.github.com/users/rlworkgroup/followers","following_url":"https://api.github.com/users/rlworkgroup/following{/other_user}","gists_url":"https://api.github.com/users/rlworkgroup/gists{/gist_id}","starred_url":"https://api.github.com/users/rlworkgroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlworkgroup/subscriptions","organizations_url":"https://api.github.com/users/rlworkgroup/orgs","repos_url":"https://api.github.com/users/rlworkgroup/repos","events_url":"https://api.github.com/users/rlworkgroup/events{/privacy}","received_events_url":"https://api.github.com/users/rlworkgroup/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rlworkgroup/garage","description":"A framework for reproducible reinforcement learning research","fork":false,"url":"https://api.github.com/repos/rlworkgroup/garage","forks_url":"https://api.github.com/repos/rlworkgroup/garage/forks","keys_url":"https://api.github.com/repos/rlworkgroup/garage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rlworkgroup/garage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rlworkgroup/garage/teams","hooks_url":"https://api.github.com/repos/rlworkgroup/garage/hooks","issue_events_url":"https://api.github.com/repos/rlworkgroup/garage/issues/events{/number}","events_url":"https://api.github.com/repos/rlworkgroup/garage/events","assignees_url":"https://api.github.com/repos/rlworkgroup/garage/assignees{/user}","branches_url":"https://api.github.com/repos/rlworkgroup/garage/branches{/branch}","tags_url":"https://api.github.com/repos/rlworkgroup/garage/tags","blobs_url":"https://api.github.com/repos/rlworkgroup/garage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rlworkgroup/garage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rlworkgroup/garage/git/refs{/sha}","trees_url":"https://api.github.com/repos/rlworkgroup/garage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rlworkgroup/garage/statuses/{sha}","languages_url":"https://api.github.com/repos/rlworkgroup/garage/languages","stargazers_url":"https://api.github.com/repos/rlworkgroup/garage/stargazers","contributors_url":"https://api.github.com/repos/rlworkgroup/garage/contributors","subscribers_url":"https://api.github.com/repos/rlworkgroup/garage/subscribers","subscription_url":"https://api.github.com/repos/rlworkgroup/garage/subscription","commits_url":"https://api.github.com/repos/rlworkgroup/garage/commits{/sha}","git_commits_url":"https://api.github.com/repos/rlworkgroup/garage/git/commits{/sha}","comments_url":"https://api.github.com/repos/rlworkgroup/garage/comments{/number}","issue_comment_url":"https://api.github.com/repos/rlworkgroup/garage/issues/comments{/number}","contents_url":"https://api.github.com/repos/rlworkgroup/garage/contents/{+path}","compare_url":"https://api.github.com/repos/rlworkgroup/garage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rlworkgroup/garage/merges","archive_url":"https://api.github.com/repos/rlworkgroup/garage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rlworkgroup/garage/downloads","issues_url":"https://api.github.com/repos/rlworkgroup/garage/issues{/number}","pulls_url":"https://api.github.com/repos/rlworkgroup/garage/pulls{/number}","milestones_url":"https://api.github.com/repos/rlworkgroup/garage/milestones{/number}","notifications_url":"https://api.github.com/repos/rlworkgroup/garage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rlworkgroup/garage/labels{/name}","releases_url":"https://api.github.com/repos/rlworkgroup/garage/releases{/id}","deployments_url":"https://api.github.com/repos/rlworkgroup/garage/deployments","created_at":"2018-06-10T21:31:23Z","updated_at":"2019-04-28T11:27:48Z","pushed_at":"2019-04-29T19:26:28Z","git_url":"git://github.com/rlworkgroup/garage.git","ssh_url":"git@github.com:rlworkgroup/garage.git","clone_url":"https://github.com/rlworkgroup/garage.git","svn_url":"https://github.com/rlworkgroup/garage","homepage":"","size":9827,"stargazers_count":306,"watchers_count":306,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":96,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":45,"open_issues":96,"watchers":306,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/633"},"html":{"href":"https://github.com/rlworkgroup/garage/pull/633"},"issue":{"href":"https://api.github.com/repos/rlworkgroup/garage/issues/633"},"comments":{"href":"https://api.github.com/repos/rlworkgroup/garage/issues/633/comments"},"review_comments":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/633/comments"},"review_comment":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rlworkgroup/garage/pulls/633/commits"},"statuses":{"href":"https://api.github.com/repos/rlworkgroup/garage/statuses/fca140552284b741768313e3824ee0f2ef097964"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"krzentner"}}