{"action":"closed","issue":{"url":"https://api.github.com/repos/nusnlp/nea/issues/2","repository_url":"https://api.github.com/repos/nusnlp/nea","labels_url":"https://api.github.com/repos/nusnlp/nea/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/nusnlp/nea/issues/2/comments","events_url":"https://api.github.com/repos/nusnlp/nea/issues/2/events","html_url":"https://github.com/nusnlp/nea/issues/2","id":223523090,"number":2,"title":"TensorFlow object with the sum method","user":{"login":"alivcor","id":12253342,"avatar_url":"https://avatars3.githubusercontent.com/u/12253342?v=3","gravatar_id":"","url":"https://api.github.com/users/alivcor","html_url":"https://github.com/alivcor","followers_url":"https://api.github.com/users/alivcor/followers","following_url":"https://api.github.com/users/alivcor/following{/other_user}","gists_url":"https://api.github.com/users/alivcor/gists{/gist_id}","starred_url":"https://api.github.com/users/alivcor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alivcor/subscriptions","organizations_url":"https://api.github.com/users/alivcor/orgs","repos_url":"https://api.github.com/users/alivcor/repos","events_url":"https://api.github.com/users/alivcor/events{/privacy}","received_events_url":"https://api.github.com/users/alivcor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-21T23:41:19Z","updated_at":"2017-05-12T19:02:57Z","closed_at":"2017-05-12T19:02:57Z","body":"Hi,\r\n\r\nWhen I try to run the code using the default parameters;\r\n\r\n`python train_nea.py -tr data/fold_0/train.tsv -tu data/fold_0/dev.tsv -ts data/fold_0/test.tsv -p 1 -o output_dir`\r\n\r\nI get the following error:\r\n\r\n```\r\nnea/nea/my_layers.py\", line 59, in call\r\n    return K.cast(x.sum(axis=1) / mask.sum(axis=1, keepdims=True), K.floatx())\r\nAttributeError: 'Tensor' object has no attribute 'sum'\r\n```\r\n\r\nAny thoughts ?\r\n\r\nThanks !"}}
{"actor":{"display_login":"kavehtp"}}