{"action":"created","issue":{"url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/6","repository_url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce","labels_url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/6/comments","events_url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/6/events","html_url":"https://github.com/kevinlin311tw/keras-openpose-reproduce/issues/6","id":349033872,"node_id":"MDU6SXNzdWUzNDkwMzM4NzI=","number":6,"title":" Can the model trained by your code be converted to a pb file and then deployed to tensorflow serving?","user":{"login":"WangJie19960331","id":40413867,"node_id":"MDQ6VXNlcjQwNDEzODY3","avatar_url":"https://avatars3.githubusercontent.com/u/40413867?v=4","gravatar_id":"","url":"https://api.github.com/users/WangJie19960331","html_url":"https://github.com/WangJie19960331","followers_url":"https://api.github.com/users/WangJie19960331/followers","following_url":"https://api.github.com/users/WangJie19960331/following{/other_user}","gists_url":"https://api.github.com/users/WangJie19960331/gists{/gist_id}","starred_url":"https://api.github.com/users/WangJie19960331/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangJie19960331/subscriptions","organizations_url":"https://api.github.com/users/WangJie19960331/orgs","repos_url":"https://api.github.com/users/WangJie19960331/repos","events_url":"https://api.github.com/users/WangJie19960331/events{/privacy}","received_events_url":"https://api.github.com/users/WangJie19960331/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T08:46:39Z","updated_at":"2018-08-09T19:03:33Z","closed_at":null,"author_association":"NONE","body":"\r\nHello, I have the following questions to ask you:\r\n1. Is the model you saved a weight that is only saved?\r\n2. Can the trained h5 file be converted to a pb model file?\r\n3. If the conversion is successful, can the model be deployed to the tensorflow serving ?"},"comment":{"url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/comments/411863200","html_url":"https://github.com/kevinlin311tw/keras-openpose-reproduce/issues/6#issuecomment-411863200","issue_url":"https://api.github.com/repos/kevinlin311tw/keras-openpose-reproduce/issues/6","id":411863200,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTg2MzIwMA==","user":{"login":"kevinlin311tw","id":9973040,"node_id":"MDQ6VXNlcjk5NzMwNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/9973040?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinlin311tw","html_url":"https://github.com/kevinlin311tw","followers_url":"https://api.github.com/users/kevinlin311tw/followers","following_url":"https://api.github.com/users/kevinlin311tw/following{/other_user}","gists_url":"https://api.github.com/users/kevinlin311tw/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlin311tw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlin311tw/subscriptions","organizations_url":"https://api.github.com/users/kevinlin311tw/orgs","repos_url":"https://api.github.com/users/kevinlin311tw/repos","events_url":"https://api.github.com/users/kevinlin311tw/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlin311tw/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T19:03:33Z","updated_at":"2018-08-09T19:03:33Z","author_association":"OWNER","body":"Technically the h5 file can be converted to pb file for deploying on Tensorflow. It is doable, but it requires additional post-processing. \r\n\r\nThe h5 files only have weights. If you would like to build the pb file, you need to get the graph at first, and then load the weights with 0 learning rate (something like set_learning_phase(0) using Keras). Then, you may want to write graph in ascii, and convert variables to constants."}}
{"actor":{"display_login":"kevinlin311tw"}}