{"action":"opened","issue":{"url":"https://api.github.com/repos/baidu/Paddle/issues/97","repository_url":"https://api.github.com/repos/baidu/Paddle","labels_url":"https://api.github.com/repos/baidu/Paddle/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/baidu/Paddle/issues/97/comments","events_url":"https://api.github.com/repos/baidu/Paddle/issues/97/events","html_url":"https://github.com/baidu/Paddle/issues/97","id":177949178,"number":97,"title":"How to label the input sequence after I have trained a CTC network in Paddle?","user":{"login":"ganji15","id":3733327,"avatar_url":"https://avatars.githubusercontent.com/u/3733327?v=3","gravatar_id":"","url":"https://api.github.com/users/ganji15","html_url":"https://github.com/ganji15","followers_url":"https://api.github.com/users/ganji15/followers","following_url":"https://api.github.com/users/ganji15/following{/other_user}","gists_url":"https://api.github.com/users/ganji15/gists{/gist_id}","starred_url":"https://api.github.com/users/ganji15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganji15/subscriptions","organizations_url":"https://api.github.com/users/ganji15/orgs","repos_url":"https://api.github.com/users/ganji15/repos","events_url":"https://api.github.com/users/ganji15/events{/privacy}","received_events_url":"https://api.github.com/users/ganji15/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-20T02:42:47Z","updated_at":"2016-09-20T02:42:47Z","closed_at":null,"body":"I want to  label the input sequence after I have trained a CTC network, but I have no idea to label the sequences. Acrodding to the related papers, the task is simliar with path decoding. There are 2 method to decode: \"best path decoding\" and \"prefix search decoding\" . So, how can I find most probable labelling with \"best path decoding\" and \"prefix search decoding\" in Paddle, or I have to do this labeling by meself? \r\n\r\nCan anyone provide any suggestions or examples?  Thank you?\r\n\r\n==============================\r\nctc network\r\n---------------------------------------------------\r\n```python\r\n# Should the output of tmp be a sequnce of  probability vector such as [[f,...], [f,....]]?\r\ntmp = fc_layer(input=x1,\r\n              size=num_classes + 1,\r\n              act=SoftmaxActivation())\r\n\r\nctc = ctc_layer(input=tmp,\r\n                 label=y,\r\n                 size=num_classes + 1)\r\nctc_eval = ctc_error_evaluator(input=ctc, label=y)\r\n"}}
{"actor":{"display_login":"ganji15"}}