{"action":"opened","issue":{"url":"https://api.github.com/repos/ONNC/onnc/issues/55","repository_url":"https://api.github.com/repos/ONNC/onnc","labels_url":"https://api.github.com/repos/ONNC/onnc/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/ONNC/onnc/issues/55/comments","events_url":"https://api.github.com/repos/ONNC/onnc/issues/55/events","html_url":"https://github.com/ONNC/onnc/issues/55","id":356580989,"node_id":"MDU6SXNzdWUzNTY1ODA5ODk=","number":55,"title":"exception of std::length_error: vector in unittest","user":{"login":"lubatang","id":2581363,"node_id":"MDQ6VXNlcjI1ODEzNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/2581363?v=4","gravatar_id":"","url":"https://api.github.com/users/lubatang","html_url":"https://github.com/lubatang","followers_url":"https://api.github.com/users/lubatang/followers","following_url":"https://api.github.com/users/lubatang/following{/other_user}","gists_url":"https://api.github.com/users/lubatang/gists{/gist_id}","starred_url":"https://api.github.com/users/lubatang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lubatang/subscriptions","organizations_url":"https://api.github.com/users/lubatang/orgs","repos_url":"https://api.github.com/users/lubatang/repos","events_url":"https://api.github.com/users/lubatang/events{/privacy}","received_events_url":"https://api.github.com/users/lubatang/received_events","type":"User","site_admin":false},"labels":[{"id":1009909762,"node_id":"MDU6TGFiZWwxMDA5OTA5NzYy","url":"https://api.github.com/repos/ONNC/onnc/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"a127a127","id":2545849,"node_id":"MDQ6VXNlcjI1NDU4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2545849?v=4","gravatar_id":"","url":"https://api.github.com/users/a127a127","html_url":"https://github.com/a127a127","followers_url":"https://api.github.com/users/a127a127/followers","following_url":"https://api.github.com/users/a127a127/following{/other_user}","gists_url":"https://api.github.com/users/a127a127/gists{/gist_id}","starred_url":"https://api.github.com/users/a127a127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a127a127/subscriptions","organizations_url":"https://api.github.com/users/a127a127/orgs","repos_url":"https://api.github.com/users/a127a127/repos","events_url":"https://api.github.com/users/a127a127/events{/privacy}","received_events_url":"https://api.github.com/users/a127a127/received_events","type":"User","site_admin":false},"assignees":[{"login":"a127a127","id":2545849,"node_id":"MDQ6VXNlcjI1NDU4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/2545849?v=4","gravatar_id":"","url":"https://api.github.com/users/a127a127","html_url":"https://github.com/a127a127","followers_url":"https://api.github.com/users/a127a127/followers","following_url":"https://api.github.com/users/a127a127/following{/other_user}","gists_url":"https://api.github.com/users/a127a127/gists{/gist_id}","starred_url":"https://api.github.com/users/a127a127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a127a127/subscriptions","organizations_url":"https://api.github.com/users/a127a127/orgs","repos_url":"https://api.github.com/users/a127a127/repos","events_url":"https://api.github.com/users/a127a127/events{/privacy}","received_events_url":"https://api.github.com/users/a127a127/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-03T18:44:35Z","updated_at":"2018-09-03T18:44:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When running unittest `SKYPAT_F(TensorSelTest, alexnet)`, I got an exception\r\n```\r\n[RemoveTrainingNodes] changed\r\n[UpdateGraphOutputSize] changed\r\n[DeadNodeElimination] changed\r\n[BookONNXGraphs] changed\r\n[BuildInitializers] changed\r\n[BuildInputOperators] changed\r\nlibc++abi.dylib: terminating with uncaught exception of type std::length_error: vector\r\nAbort trap: 6\r\n```\r\n\r\nlldb locates the bug in line 70.\r\n```\r\n 69       xValue &input = *m_Node.inputs()[0];\r\n 70       std::vector<int64_t> v(input.sizes().size() - 2, 1);\r\n 71       pOp.setDilations(std::move(v));\r\n ```\r\n\r\nI guess input.sizes() contains less than two elements."}}
{"actor":{"display_login":"lubatang"}}