{"action":"opened","issue":{"url":"https://api.github.com/repos/ildoonet/tf-pose-estimation/issues/85","repository_url":"https://api.github.com/repos/ildoonet/tf-pose-estimation","labels_url":"https://api.github.com/repos/ildoonet/tf-pose-estimation/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/ildoonet/tf-pose-estimation/issues/85/comments","events_url":"https://api.github.com/repos/ildoonet/tf-pose-estimation/issues/85/events","html_url":"https://github.com/ildoonet/tf-pose-estimation/issues/85","id":294968880,"number":85,"title":"Unable to transform_graph on frozen model: FeedInputs: unable to find feed output image:0","user":{"login":"ssq6","id":36084266,"avatar_url":"https://avatars1.githubusercontent.com/u/36084266?v=4","gravatar_id":"","url":"https://api.github.com/users/ssq6","html_url":"https://github.com/ssq6","followers_url":"https://api.github.com/users/ssq6/followers","following_url":"https://api.github.com/users/ssq6/following{/other_user}","gists_url":"https://api.github.com/users/ssq6/gists{/gist_id}","starred_url":"https://api.github.com/users/ssq6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssq6/subscriptions","organizations_url":"https://api.github.com/users/ssq6/orgs","repos_url":"https://api.github.com/users/ssq6/repos","events_url":"https://api.github.com/users/ssq6/events{/privacy}","received_events_url":"https://api.github.com/users/ssq6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T01:00:03Z","updated_at":"2018-02-07T01:00:03Z","closed_at":null,"author_association":"NONE","body":"I trained a mobilenet_thin model with checkpoint model-160000 and dumped the graph with write_graph named trained_graph.pbtxt.\r\nI was also able to successfully run \r\npython3 -m tensorflow.python.tools.freeze_graph \\\r\n  --input_graph=.../trained_graph.pbtxt \\\r\n  --output_graph=.../frozen.model-160000 \\\r\n  --input_checkpoint=.../model-160000 \\\r\n  --output_node_names=\"Openpose/concat_stage7\"\r\nto get a frozen graph frozen.model-160000\r\n\r\nBut when I tried to run optimzation with:\r\nbazel-bin/tensorflow/tools/graph_transforms/transform_graph \\\r\n    --in_graph=.../frozen.model-160000 \\\r\n    --out_graph=.../opt.model-160000 \\\r\n    --inputs='image:0' \\\r\n    --outputs='Openpose/concat_stage7:0' \\\r\n    --transforms='\r\n    strip_unused_nodes(type=float, shape=\"1,368,368,3\")\r\n    remove_nodes(op=Identity, op=CheckNumerics)\r\n    fold_constants(ignoreError=False)\r\n    fold_old_batch_norms\r\n    fold_batch_norms'\r\n\r\nit gave me the following error:\r\n tensorflow/tools/graph_transforms/transform_graph.cc:210] FeedInputs: unable to find feed output image:0\r\n\r\nWhen I run optimization on the unfrozen graph, it works.\r\nAny ideas on why I am hitting this error please?"}}
{"actor":{"display_login":"ssq6"}}