{"action":"opened","issue":{"url":"https://api.github.com/repos/XinnuoXu/mmi_anti_pytorch/issues/1","repository_url":"https://api.github.com/repos/XinnuoXu/mmi_anti_pytorch","labels_url":"https://api.github.com/repos/XinnuoXu/mmi_anti_pytorch/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/XinnuoXu/mmi_anti_pytorch/issues/1/comments","events_url":"https://api.github.com/repos/XinnuoXu/mmi_anti_pytorch/issues/1/events","html_url":"https://github.com/XinnuoXu/mmi_anti_pytorch/issues/1","id":324596215,"number":1,"title":"Error in Translator","user":{"login":"wx1900","id":27404477,"avatar_url":"https://avatars3.githubusercontent.com/u/27404477?v=4","gravatar_id":"","url":"https://api.github.com/users/wx1900","html_url":"https://github.com/wx1900","followers_url":"https://api.github.com/users/wx1900/followers","following_url":"https://api.github.com/users/wx1900/following{/other_user}","gists_url":"https://api.github.com/users/wx1900/gists{/gist_id}","starred_url":"https://api.github.com/users/wx1900/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wx1900/subscriptions","organizations_url":"https://api.github.com/users/wx1900/orgs","repos_url":"https://api.github.com/users/wx1900/repos","events_url":"https://api.github.com/users/wx1900/events{/privacy}","received_events_url":"https://api.github.com/users/wx1900/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-19T03:10:48Z","updated_at":"2018-05-19T03:10:48Z","closed_at":null,"author_association":"NONE","body":"Traceback (most recent call last):\r\n  File \"translate.py\", line 157, in <module>\r\n    main()\r\n  File \"translate.py\", line 119, in main\r\n    batch_data = translator.translate_batch(batch, data)\r\n  File \"/home/thea/cikm/mmi_anti_pytorch/onmt/translate/Translator.py\", line 205, in translate_batch\r\n    ret = self._from_beam(beam)\r\n  File \"/home/thea/cikm/mmi_anti_pytorch/onmt/translate/Translator.py\", line 234, in _from_beam\r\n    best_scores, best_scores_id = self.tt.FloatTensor(b.ended_sentences_scores).topk(n_best, 0, True, True)\r\nRuntimeError: invalid argument 3: dim not in range at /pytorch/aten/src/TH/generic/THTensorMath.c:3436\r\n\r\nHi XinnouXu, I caught an error in training 'python translate.py -model modelname' and really need some help here.\r\nThanks in advance!"}}
{"actor":{"display_login":"wx1900"}}