{"action":"closed","number":3585,"pull_request":{"url":"https://api.github.com/repos/ray-project/ray/pulls/3585","id":240114028,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMTE0MDI4","html_url":"https://github.com/ray-project/ray/pull/3585","diff_url":"https://github.com/ray-project/ray/pull/3585.diff","patch_url":"https://github.com/ray-project/ray/pull/3585.patch","issue_url":"https://api.github.com/repos/ray-project/ray/issues/3585","number":3585,"state":"closed","locked":false,"title":"[rllib] Export tensorflow model of policy graph","user":{"login":"xutianming","id":4970790,"node_id":"MDQ6VXNlcjQ5NzA3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4970790?v=4","gravatar_id":"","url":"https://api.github.com/users/xutianming","html_url":"https://github.com/xutianming","followers_url":"https://api.github.com/users/xutianming/followers","following_url":"https://api.github.com/users/xutianming/following{/other_user}","gists_url":"https://api.github.com/users/xutianming/gists{/gist_id}","starred_url":"https://api.github.com/users/xutianming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutianming/subscriptions","organizations_url":"https://api.github.com/users/xutianming/orgs","repos_url":"https://api.github.com/users/xutianming/repos","events_url":"https://api.github.com/users/xutianming/events{/privacy}","received_events_url":"https://api.github.com/users/xutianming/received_events","type":"User","site_admin":false},"body":"<!--\r\nThank you for your contribution!\r\n\r\nPlease review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request.\r\n-->\r\n\r\n## What do these changes do?\r\n\r\n<!-- Please give a short brief about these changes. -->\r\nIn this pull request, an \"export_policy_model\" interface is added to export RLlib models in Tensorflow saved_model format.\r\n\r\nCurrently, our online-serving system only supports models in tensorflow and some self-defined formats. It takes time for them to support RLlib models, so we have to find a way to workaround for now.\r\n\r\nOther RLlib users might have similar requirements.\r\n\r\n## Related issue number\r\n\r\n<!-- Are there any issues opened that will be resolved by merging this change? -->\r\n[#3513](https://github.com/ray-project/ray/issues/3513) ","created_at":"2018-12-20T10:06:23Z","updated_at":"2018-12-22T08:35:26Z","closed_at":"2018-12-22T08:35:26Z","merged_at":"2018-12-22T08:35:26Z","merge_commit_sha":"deb26b954e56b17c5c4e4f61a37d20b9ce7352eb","assignee":{"login":"ericl","id":14922,"node_id":"MDQ6VXNlcjE0OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/14922?v=4","gravatar_id":"","url":"https://api.github.com/users/ericl","html_url":"https://github.com/ericl","followers_url":"https://api.github.com/users/ericl/followers","following_url":"https://api.github.com/users/ericl/following{/other_user}","gists_url":"https://api.github.com/users/ericl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericl/subscriptions","organizations_url":"https://api.github.com/users/ericl/orgs","repos_url":"https://api.github.com/users/ericl/repos","events_url":"https://api.github.com/users/ericl/events{/privacy}","received_events_url":"https://api.github.com/users/ericl/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericl","id":14922,"node_id":"MDQ6VXNlcjE0OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/14922?v=4","gravatar_id":"","url":"https://api.github.com/users/ericl","html_url":"https://github.com/ericl","followers_url":"https://api.github.com/users/ericl/followers","following_url":"https://api.github.com/users/ericl/following{/other_user}","gists_url":"https://api.github.com/users/ericl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericl/subscriptions","organizations_url":"https://api.github.com/users/ericl/orgs","repos_url":"https://api.github.com/users/ericl/repos","events_url":"https://api.github.com/users/ericl/events{/privacy}","received_events_url":"https://api.github.com/users/ericl/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ray-project/ray/pulls/3585/commits","review_comments_url":"https://api.github.com/repos/ray-project/ray/pulls/3585/comments","review_comment_url":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/3585/comments","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/924b67a73f7bbe486fb0b3e320550372d7cee8d4","head":{"label":"xutianming:master","ref":"master","sha":"924b67a73f7bbe486fb0b3e320550372d7cee8d4","user":{"login":"xutianming","id":4970790,"node_id":"MDQ6VXNlcjQ5NzA3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4970790?v=4","gravatar_id":"","url":"https://api.github.com/users/xutianming","html_url":"https://github.com/xutianming","followers_url":"https://api.github.com/users/xutianming/followers","following_url":"https://api.github.com/users/xutianming/following{/other_user}","gists_url":"https://api.github.com/users/xutianming/gists{/gist_id}","starred_url":"https://api.github.com/users/xutianming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutianming/subscriptions","organizations_url":"https://api.github.com/users/xutianming/orgs","repos_url":"https://api.github.com/users/xutianming/repos","events_url":"https://api.github.com/users/xutianming/events{/privacy}","received_events_url":"https://api.github.com/users/xutianming/received_events","type":"User","site_admin":false},"repo":{"id":162129703,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIxMjk3MDM=","name":"ray","full_name":"xutianming/ray","private":false,"owner":{"login":"xutianming","id":4970790,"node_id":"MDQ6VXNlcjQ5NzA3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4970790?v=4","gravatar_id":"","url":"https://api.github.com/users/xutianming","html_url":"https://github.com/xutianming","followers_url":"https://api.github.com/users/xutianming/followers","following_url":"https://api.github.com/users/xutianming/following{/other_user}","gists_url":"https://api.github.com/users/xutianming/gists{/gist_id}","starred_url":"https://api.github.com/users/xutianming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutianming/subscriptions","organizations_url":"https://api.github.com/users/xutianming/orgs","repos_url":"https://api.github.com/users/xutianming/repos","events_url":"https://api.github.com/users/xutianming/events{/privacy}","received_events_url":"https://api.github.com/users/xutianming/received_events","type":"User","site_admin":false},"html_url":"https://github.com/xutianming/ray","description":"A system for parallel and distributed Python that unifies the ML ecosystem.","fork":true,"url":"https://api.github.com/repos/xutianming/ray","forks_url":"https://api.github.com/repos/xutianming/ray/forks","keys_url":"https://api.github.com/repos/xutianming/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xutianming/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xutianming/ray/teams","hooks_url":"https://api.github.com/repos/xutianming/ray/hooks","issue_events_url":"https://api.github.com/repos/xutianming/ray/issues/events{/number}","events_url":"https://api.github.com/repos/xutianming/ray/events","assignees_url":"https://api.github.com/repos/xutianming/ray/assignees{/user}","branches_url":"https://api.github.com/repos/xutianming/ray/branches{/branch}","tags_url":"https://api.github.com/repos/xutianming/ray/tags","blobs_url":"https://api.github.com/repos/xutianming/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xutianming/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xutianming/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/xutianming/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xutianming/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/xutianming/ray/languages","stargazers_url":"https://api.github.com/repos/xutianming/ray/stargazers","contributors_url":"https://api.github.com/repos/xutianming/ray/contributors","subscribers_url":"https://api.github.com/repos/xutianming/ray/subscribers","subscription_url":"https://api.github.com/repos/xutianming/ray/subscription","commits_url":"https://api.github.com/repos/xutianming/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/xutianming/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/xutianming/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/xutianming/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/xutianming/ray/contents/{+path}","compare_url":"https://api.github.com/repos/xutianming/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xutianming/ray/merges","archive_url":"https://api.github.com/repos/xutianming/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xutianming/ray/downloads","issues_url":"https://api.github.com/repos/xutianming/ray/issues{/number}","pulls_url":"https://api.github.com/repos/xutianming/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/xutianming/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/xutianming/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xutianming/ray/labels{/name}","releases_url":"https://api.github.com/repos/xutianming/ray/releases{/id}","deployments_url":"https://api.github.com/repos/xutianming/ray/deployments","created_at":"2018-12-17T12:48:15Z","updated_at":"2018-12-21T16:05:59Z","pushed_at":"2018-12-21T16:05:56Z","git_url":"git://github.com/xutianming/ray.git","ssh_url":"git@github.com:xutianming/ray.git","clone_url":"https://github.com/xutianming/ray.git","svn_url":"https://github.com/xutianming/ray","homepage":"https://ray.readthedocs.io/en/latest/","size":17384,"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":"ray-project:master","ref":"master","sha":"cf0c4745f4c2953a774bbf2a944c3cdc76bdae24","user":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"repo":{"id":71932349,"node_id":"MDEwOlJlcG9zaXRvcnk3MTkzMjM0OQ==","name":"ray","full_name":"ray-project/ray","private":false,"owner":{"login":"ray-project","id":22125274,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMTI1Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/22125274?v=4","gravatar_id":"","url":"https://api.github.com/users/ray-project","html_url":"https://github.com/ray-project","followers_url":"https://api.github.com/users/ray-project/followers","following_url":"https://api.github.com/users/ray-project/following{/other_user}","gists_url":"https://api.github.com/users/ray-project/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-project/subscriptions","organizations_url":"https://api.github.com/users/ray-project/orgs","repos_url":"https://api.github.com/users/ray-project/repos","events_url":"https://api.github.com/users/ray-project/events{/privacy}","received_events_url":"https://api.github.com/users/ray-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ray-project/ray","description":"A system for parallel and distributed Python that unifies the ML ecosystem.","fork":false,"url":"https://api.github.com/repos/ray-project/ray","forks_url":"https://api.github.com/repos/ray-project/ray/forks","keys_url":"https://api.github.com/repos/ray-project/ray/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ray-project/ray/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ray-project/ray/teams","hooks_url":"https://api.github.com/repos/ray-project/ray/hooks","issue_events_url":"https://api.github.com/repos/ray-project/ray/issues/events{/number}","events_url":"https://api.github.com/repos/ray-project/ray/events","assignees_url":"https://api.github.com/repos/ray-project/ray/assignees{/user}","branches_url":"https://api.github.com/repos/ray-project/ray/branches{/branch}","tags_url":"https://api.github.com/repos/ray-project/ray/tags","blobs_url":"https://api.github.com/repos/ray-project/ray/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ray-project/ray/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ray-project/ray/git/refs{/sha}","trees_url":"https://api.github.com/repos/ray-project/ray/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ray-project/ray/statuses/{sha}","languages_url":"https://api.github.com/repos/ray-project/ray/languages","stargazers_url":"https://api.github.com/repos/ray-project/ray/stargazers","contributors_url":"https://api.github.com/repos/ray-project/ray/contributors","subscribers_url":"https://api.github.com/repos/ray-project/ray/subscribers","subscription_url":"https://api.github.com/repos/ray-project/ray/subscription","commits_url":"https://api.github.com/repos/ray-project/ray/commits{/sha}","git_commits_url":"https://api.github.com/repos/ray-project/ray/git/commits{/sha}","comments_url":"https://api.github.com/repos/ray-project/ray/comments{/number}","issue_comment_url":"https://api.github.com/repos/ray-project/ray/issues/comments{/number}","contents_url":"https://api.github.com/repos/ray-project/ray/contents/{+path}","compare_url":"https://api.github.com/repos/ray-project/ray/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ray-project/ray/merges","archive_url":"https://api.github.com/repos/ray-project/ray/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ray-project/ray/downloads","issues_url":"https://api.github.com/repos/ray-project/ray/issues{/number}","pulls_url":"https://api.github.com/repos/ray-project/ray/pulls{/number}","milestones_url":"https://api.github.com/repos/ray-project/ray/milestones{/number}","notifications_url":"https://api.github.com/repos/ray-project/ray/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ray-project/ray/labels{/name}","releases_url":"https://api.github.com/repos/ray-project/ray/releases{/id}","deployments_url":"https://api.github.com/repos/ray-project/ray/deployments","created_at":"2016-10-25T19:38:30Z","updated_at":"2018-12-22T04:47:48Z","pushed_at":"2018-12-22T08:35:26Z","git_url":"git://github.com/ray-project/ray.git","ssh_url":"git@github.com:ray-project/ray.git","clone_url":"https://github.com/ray-project/ray.git","svn_url":"https://github.com/ray-project/ray","homepage":"https://ray.readthedocs.io/en/latest/","size":17532,"stargazers_count":5087,"watchers_count":5087,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":695,"mirror_url":null,"archived":false,"open_issues_count":506,"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":695,"open_issues":506,"watchers":5087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3585"},"html":{"href":"https://github.com/ray-project/ray/pull/3585"},"issue":{"href":"https://api.github.com/repos/ray-project/ray/issues/3585"},"comments":{"href":"https://api.github.com/repos/ray-project/ray/issues/3585/comments"},"review_comments":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3585/comments"},"review_comment":{"href":"https://api.github.com/repos/ray-project/ray/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ray-project/ray/pulls/3585/commits"},"statuses":{"href":"https://api.github.com/repos/ray-project/ray/statuses/924b67a73f7bbe486fb0b3e320550372d7cee8d4"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ericl","id":14922,"node_id":"MDQ6VXNlcjE0OTIy","avatar_url":"https://avatars3.githubusercontent.com/u/14922?v=4","gravatar_id":"","url":"https://api.github.com/users/ericl","html_url":"https://github.com/ericl","followers_url":"https://api.github.com/users/ericl/followers","following_url":"https://api.github.com/users/ericl/following{/other_user}","gists_url":"https://api.github.com/users/ericl/gists{/gist_id}","starred_url":"https://api.github.com/users/ericl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericl/subscriptions","organizations_url":"https://api.github.com/users/ericl/orgs","repos_url":"https://api.github.com/users/ericl/repos","events_url":"https://api.github.com/users/ericl/events{/privacy}","received_events_url":"https://api.github.com/users/ericl/received_events","type":"User","site_admin":false},"comments":6,"review_comments":4,"maintainer_can_modify":false,"commits":6,"additions":174,"deletions":2,"changed_files":6}}
{"actor":{"display_login":"ericl"}}