{"action":"created","issue":{"url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/50","repository_url":"https://api.github.com/repos/lvapeab/nmt-keras","labels_url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/50/comments","events_url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/50/events","html_url":"https://github.com/lvapeab/nmt-keras/issues/50","id":325098881,"number":50,"title":"TypeError: only integer scalar arrays can be converted to a scalar index","user":{"login":"yanmengqi","id":23383457,"avatar_url":"https://avatars2.githubusercontent.com/u/23383457?v=4","gravatar_id":"","url":"https://api.github.com/users/yanmengqi","html_url":"https://github.com/yanmengqi","followers_url":"https://api.github.com/users/yanmengqi/followers","following_url":"https://api.github.com/users/yanmengqi/following{/other_user}","gists_url":"https://api.github.com/users/yanmengqi/gists{/gist_id}","starred_url":"https://api.github.com/users/yanmengqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanmengqi/subscriptions","organizations_url":"https://api.github.com/users/yanmengqi/orgs","repos_url":"https://api.github.com/users/yanmengqi/repos","events_url":"https://api.github.com/users/yanmengqi/events{/privacy}","received_events_url":"https://api.github.com/users/yanmengqi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-22T00:09:46Z","updated_at":"2018-05-22T09:15:17Z","closed_at":null,"author_association":"NONE","body":"I am running the default dataset with nmt-keras, but when I run the command :python main.py.After 1 epoch,there are something wrong with the following bug code:\r\n\r\nEpoch 2/500\r\n102/198 [==============>...............] - ETA: 1:17 - loss: 2.4363\r\n[22/05/2018 07:57:59] <<< Predicting outputs of train set >>>\r\nStarting dataLoad_process_0...\r\nProcess Process-6:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/usr/lib/python2.7/multiprocessing/process.py\", line 114, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"build/bdist.linux-x86_64/egg/keras_wrapper/dataset.py\", line 105, in dataLoad\r\n    dataAugmentation=data_augmentation)\r\n  File \"build/bdist.linux-x86_64/egg/keras_wrapper/dataset.py\", line 3241, in getXY\r\n    x = eval('self.X_' + set_name + '[id_in][last:new_last]')\r\n  File \"<string>\", line 1, in <module>\r\nTypeError: only integer scalar arrays can be converted to a scalar index\r\nCan you tell me why this issue happened and how to fix it?\r\n\r\nThere are something I want to tell you is that I have tried to use nmt-keras to train a Chinese-English models,also it's using abality is not good,but I think I will make it perfect in the future,Thanks for your help."},"comment":{"url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/comments/390920840","html_url":"https://github.com/lvapeab/nmt-keras/issues/50#issuecomment-390920840","issue_url":"https://api.github.com/repos/lvapeab/nmt-keras/issues/50","id":390920840,"user":{"login":"lvapeab","id":4717075,"avatar_url":"https://avatars2.githubusercontent.com/u/4717075?v=4","gravatar_id":"","url":"https://api.github.com/users/lvapeab","html_url":"https://github.com/lvapeab","followers_url":"https://api.github.com/users/lvapeab/followers","following_url":"https://api.github.com/users/lvapeab/following{/other_user}","gists_url":"https://api.github.com/users/lvapeab/gists{/gist_id}","starred_url":"https://api.github.com/users/lvapeab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvapeab/subscriptions","organizations_url":"https://api.github.com/users/lvapeab/orgs","repos_url":"https://api.github.com/users/lvapeab/repos","events_url":"https://api.github.com/users/lvapeab/events{/privacy}","received_events_url":"https://api.github.com/users/lvapeab/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T09:15:17Z","updated_at":"2018-05-22T09:15:17Z","author_association":"OWNER","body":"Weird. No, you shouldn't change it. Please, make sure you're using the last version of the  `keras_wrapper` repo (`git pull`) ."}}
{"actor":{"display_login":"lvapeab"}}