{"action":"created","issue":{"url":"https://api.github.com/repos/da03/Attention-OCR/issues/17","repository_url":"https://api.github.com/repos/da03/Attention-OCR","labels_url":"https://api.github.com/repos/da03/Attention-OCR/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/da03/Attention-OCR/issues/17/comments","events_url":"https://api.github.com/repos/da03/Attention-OCR/issues/17/events","html_url":"https://github.com/da03/Attention-OCR/issues/17","id":181870268,"number":17,"title":"error using my own trained model to test.","user":{"login":"flymark2010","id":8042816,"avatar_url":"https://avatars.githubusercontent.com/u/8042816?v=3","gravatar_id":"","url":"https://api.github.com/users/flymark2010","html_url":"https://github.com/flymark2010","followers_url":"https://api.github.com/users/flymark2010/followers","following_url":"https://api.github.com/users/flymark2010/following{/other_user}","gists_url":"https://api.github.com/users/flymark2010/gists{/gist_id}","starred_url":"https://api.github.com/users/flymark2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flymark2010/subscriptions","organizations_url":"https://api.github.com/users/flymark2010/orgs","repos_url":"https://api.github.com/users/flymark2010/repos","events_url":"https://api.github.com/users/flymark2010/events{/privacy}","received_events_url":"https://api.github.com/users/flymark2010/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-09T06:54:06Z","updated_at":"2016-11-14T03:33:01Z","closed_at":null,"body":"Hi, \nI've trained a model following the toy example. And using the model to test the _iiit5k_ data. While error happens:\n    \"../Attention-OCR/src/model/model.py\" line 182, in **init**\n        self.saver_all = tf.train.Saver(tf.all_variables())\nan exception is throwed:\n    tensorflow.python.framework.errors.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shap=[1024] rhs shape=[2048]\n\nWhen using the author's model trained on Synth 90K to test _iiit5k_ , everythin is ok and finally get \"2034.98 out of 3000 correct\".\n\nCould anybody explain this? Thanks a lot.\n"},"comment":{"url":"https://api.github.com/repos/da03/Attention-OCR/issues/comments/260241278","html_url":"https://github.com/da03/Attention-OCR/issues/17#issuecomment-260241278","issue_url":"https://api.github.com/repos/da03/Attention-OCR/issues/17","id":260241278,"user":{"login":"Yang507","id":19423968,"avatar_url":"https://avatars.githubusercontent.com/u/19423968?v=3","gravatar_id":"","url":"https://api.github.com/users/Yang507","html_url":"https://github.com/Yang507","followers_url":"https://api.github.com/users/Yang507/followers","following_url":"https://api.github.com/users/Yang507/following{/other_user}","gists_url":"https://api.github.com/users/Yang507/gists{/gist_id}","starred_url":"https://api.github.com/users/Yang507/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yang507/subscriptions","organizations_url":"https://api.github.com/users/Yang507/orgs","repos_url":"https://api.github.com/users/Yang507/repos","events_url":"https://api.github.com/users/Yang507/events{/privacy}","received_events_url":"https://api.github.com/users/Yang507/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T03:33:01Z","updated_at":"2016-11-14T03:33:01Z","body":"@da03 I used your pre-model with SVN data to test, i meet a problem when the program run for a short time and stop\r\n\r\n     Attention-OCR-master/src/model/model.py:381:VisibleDeprecationWarning:using a non-integer number will result in an error in the future\r\n    attention_orig[i]=attention[i/4-1]\r\n     Attention-OCR-master/src/model/model.py:388:VisibleDeprecationWarning:using a non-integer number will result in an error in the future\r\n    attention_orig[i]=attention[i/4-1]\r\nthe result has some output but not all, just 200/647"}}
{"actor":{"display_login":"Yang507"}}