{"action":"opened","issue":{"url":"https://api.github.com/repos/yinguobing/cnn-facial-landmark/issues/11","repository_url":"https://api.github.com/repos/yinguobing/cnn-facial-landmark","labels_url":"https://api.github.com/repos/yinguobing/cnn-facial-landmark/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/yinguobing/cnn-facial-landmark/issues/11/comments","events_url":"https://api.github.com/repos/yinguobing/cnn-facial-landmark/issues/11/events","html_url":"https://github.com/yinguobing/cnn-facial-landmark/issues/11","id":374623397,"node_id":"MDU6SXNzdWUzNzQ2MjMzOTc=","number":11,"title":"estimator.export_savedmodel 保存模型时发生错误","user":{"login":"dongfengguilai","id":41560521,"node_id":"MDQ6VXNlcjQxNTYwNTIx","avatar_url":"https://avatars1.githubusercontent.com/u/41560521?v=4","gravatar_id":"","url":"https://api.github.com/users/dongfengguilai","html_url":"https://github.com/dongfengguilai","followers_url":"https://api.github.com/users/dongfengguilai/followers","following_url":"https://api.github.com/users/dongfengguilai/following{/other_user}","gists_url":"https://api.github.com/users/dongfengguilai/gists{/gist_id}","starred_url":"https://api.github.com/users/dongfengguilai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongfengguilai/subscriptions","organizations_url":"https://api.github.com/users/dongfengguilai/orgs","repos_url":"https://api.github.com/users/dongfengguilai/repos","events_url":"https://api.github.com/users/dongfengguilai/events{/privacy}","received_events_url":"https://api.github.com/users/dongfengguilai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T08:54:32Z","updated_at":"2018-10-27T08:54:32Z","closed_at":null,"author_association":"NONE","body":"Traceback (most recent call last):\r\n  File \"D:/pycharm/rinima/landmark.py\", line 322, in <module>\r\n    tf.app.run()\r\n  File \"D:\\anaconda\\lib\\site-packages\\tensorflow\\python\\platform\\app.py\", line 48, in run\r\n    _sys.exit(main(_sys.argv[:1] + flags_passthrough))\r\n  File \"D:/pycharm/rinima/landmark.py\", line 302, in main\r\n    estimator.export_savedmodel(\"saved_model\", serving_input_receiver_fn)\r\n  File \"D:\\anaconda\\lib\\site-packages\\tensorflow\\python\\estimator\\estimator.py\", line 511, in export_savedmodel\r\n    config=self.config)\r\n  File \"D:\\anaconda\\lib\\site-packages\\tensorflow\\python\\estimator\\estimator.py\", line 694, in _call_model_fn\r\n    model_fn_results = self._model_fn(features=features, **kwargs)\r\n  File \"D:/pycharm/rinima/landmark.py\", line 27, in cnn_model_fn\r\n    inputs = tf.to_float(features['x'], name=\"input_to_float\")\r\nKeyError: 'x'"}}
{"actor":{"display_login":"dongfengguilai"}}