{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenNMT/OpenNMT-py/issues/651","repository_url":"https://api.github.com/repos/OpenNMT/OpenNMT-py","labels_url":"https://api.github.com/repos/OpenNMT/OpenNMT-py/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/OpenNMT/OpenNMT-py/issues/651/comments","events_url":"https://api.github.com/repos/OpenNMT/OpenNMT-py/issues/651/events","html_url":"https://github.com/OpenNMT/OpenNMT-py/issues/651","id":310388918,"number":651,"title":"Error during decoding in Summarization","user":{"login":"LeenaShekhar","id":12227436,"avatar_url":"https://avatars1.githubusercontent.com/u/12227436?v=4","gravatar_id":"","url":"https://api.github.com/users/LeenaShekhar","html_url":"https://github.com/LeenaShekhar","followers_url":"https://api.github.com/users/LeenaShekhar/followers","following_url":"https://api.github.com/users/LeenaShekhar/following{/other_user}","gists_url":"https://api.github.com/users/LeenaShekhar/gists{/gist_id}","starred_url":"https://api.github.com/users/LeenaShekhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeenaShekhar/subscriptions","organizations_url":"https://api.github.com/users/LeenaShekhar/orgs","repos_url":"https://api.github.com/users/LeenaShekhar/repos","events_url":"https://api.github.com/users/LeenaShekhar/events{/privacy}","received_events_url":"https://api.github.com/users/LeenaShekhar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T04:05:11Z","updated_at":"2018-04-02T04:05:11Z","closed_at":null,"author_association":"NONE","body":"I encountered the following error while decoding using a pre-trained model. I am trying to debug it so an help is appreciated. \r\n\r\nTraceback (most recent call last):\r\n  File \"translate.py\", line 167, in <module>\r\n    main()\r\n  File \"translate.py\", line 116, in main\r\n    for batch in data_iter:\r\n  File \"/usr/local/lib/python2.7/dist-packages/torchtext/data/iterator.py\", line 180, in __iter__\r\n    self.train)\r\n  File \"/usr/local/lib/python2.7/dist-packages/torchtext/data/batch.py\", line 22, in __init__\r\n    setattr(self, name, field.process(batch, device=device, train=train))\r\n  File \"/usr/local/lib/python2.7/dist-packages/torchtext/data/field.py\", line 187, in process\r\n    tensor = self.numericalize(padded, device=device, train=train)\r\n  File \"/usr/local/lib/python2.7/dist-packages/torchtext/data/field.py\", line 309, in numericalize\r\n    arr = self.tensor_type(arr)\r\n\r\nP.S: The line numbers will not match the latest source code ad I have a few extra print statements added to my local code. \r\n"}}
{"actor":{"display_login":"LeenaShekhar"}}