{"action":"created","issue":{"url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/88","repository_url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf","labels_url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/88/comments","events_url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/88/events","html_url":"https://github.com/OpenNMT/OpenNMT-tf/issues/88","id":306727661,"number":88,"title":"bug in inputter.py","user":{"login":"EinsQiang","id":18229660,"avatar_url":"https://avatars1.githubusercontent.com/u/18229660?v=4","gravatar_id":"","url":"https://api.github.com/users/EinsQiang","html_url":"https://github.com/EinsQiang","followers_url":"https://api.github.com/users/EinsQiang/followers","following_url":"https://api.github.com/users/EinsQiang/following{/other_user}","gists_url":"https://api.github.com/users/EinsQiang/gists{/gist_id}","starred_url":"https://api.github.com/users/EinsQiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EinsQiang/subscriptions","organizations_url":"https://api.github.com/users/EinsQiang/orgs","repos_url":"https://api.github.com/users/EinsQiang/repos","events_url":"https://api.github.com/users/EinsQiang/events{/privacy}","received_events_url":"https://api.github.com/users/EinsQiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-20T04:42:33Z","updated_at":"2018-03-20T12:49:17Z","closed_at":null,"author_association":"NONE","body":"https://github.com/OpenNMT/OpenNMT-tf/blob/93609e075de0de17490e31098df7019e850d8f44/opennmt/inputters/inputter.py#L372\r\n\r\n\r\nThis place should chang to \r\n\r\n```\r\nreturn self.inputters[0].get_dataset_size(data_file[0])\r\n```\r\n\r\nbecause `data_file` is  a list."},"comment":{"url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/comments/374585311","html_url":"https://github.com/OpenNMT/OpenNMT-tf/issues/88#issuecomment-374585311","issue_url":"https://api.github.com/repos/OpenNMT/OpenNMT-tf/issues/88","id":374585311,"user":{"login":"EinsQiang","id":18229660,"avatar_url":"https://avatars1.githubusercontent.com/u/18229660?v=4","gravatar_id":"","url":"https://api.github.com/users/EinsQiang","html_url":"https://github.com/EinsQiang","followers_url":"https://api.github.com/users/EinsQiang/followers","following_url":"https://api.github.com/users/EinsQiang/following{/other_user}","gists_url":"https://api.github.com/users/EinsQiang/gists{/gist_id}","starred_url":"https://api.github.com/users/EinsQiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EinsQiang/subscriptions","organizations_url":"https://api.github.com/users/EinsQiang/orgs","repos_url":"https://api.github.com/users/EinsQiang/repos","events_url":"https://api.github.com/users/EinsQiang/events{/privacy}","received_events_url":"https://api.github.com/users/EinsQiang/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T12:49:17Z","updated_at":"2018-03-20T12:49:17Z","author_association":"NONE","body":"Yes, when I use ParallelInputter. Because it is the subclass of MultiInputter, ParallelInputter use MultiInputter's get_dataset_size which call the first inputter's get_dataset_size, get_dataset_size accept a string data_file, not list data_file.  \r\n\r\nI am sorry for my poor english."}}
{"actor":{"display_login":"EinsQiang"}}