{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/3830","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/3830/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/3830/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/3830/events","html_url":"https://github.com/dmlc/mxnet/issues/3830","id":189298871,"number":3830,"title":"SSD example make error","user":{"login":"zt706","id":7455663,"avatar_url":"https://avatars.githubusercontent.com/u/7455663?v=3","gravatar_id":"","url":"https://api.github.com/users/zt706","html_url":"https://github.com/zt706","followers_url":"https://api.github.com/users/zt706/followers","following_url":"https://api.github.com/users/zt706/following{/other_user}","gists_url":"https://api.github.com/users/zt706/gists{/gist_id}","starred_url":"https://api.github.com/users/zt706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zt706/subscriptions","organizations_url":"https://api.github.com/users/zt706/orgs","repos_url":"https://api.github.com/users/zt706/repos","events_url":"https://api.github.com/users/zt706/events{/privacy}","received_events_url":"https://api.github.com/users/zt706/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-15T04:44:26Z","updated_at":"2016-11-15T20:05:30Z","closed_at":null,"body":"When I compiled mxnet with the ssd example, I got erro :\r\n\r\nexample/ssd/operator/./multibox_target-inl.h:129:179: 错误：对重载的‘VarsInfo(<brace-enclosed initializer list>)’的调用有歧义\r\nDMLC_DECLARE_FIELD(variances).set_default(VarsInfo({0.1, 0.1, 0.2, 0.2}))\r\n\r\nIt looks like it is in my machine std::vector initialization method is not correct. I put the code into the following：\r\nfloat my[] = {0.1,0.1,0.2,0.2};\r\nstd::vector<float> four (my, my + sizeof(my) / sizeof(float));\r\nDMLC_DECLARE_FIELD(variances).set_default(VarsInfo(four))\r\n\r\nIf I'm wrong, please let me know.\r\n\r\nMy machine : \r\ng++ --version\r\ng++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/comments/260751822","html_url":"https://github.com/dmlc/mxnet/issues/3830#issuecomment-260751822","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/3830","id":260751822,"user":{"login":"zhreshold","id":3307514,"avatar_url":"https://avatars.githubusercontent.com/u/3307514?v=3","gravatar_id":"","url":"https://api.github.com/users/zhreshold","html_url":"https://github.com/zhreshold","followers_url":"https://api.github.com/users/zhreshold/followers","following_url":"https://api.github.com/users/zhreshold/following{/other_user}","gists_url":"https://api.github.com/users/zhreshold/gists{/gist_id}","starred_url":"https://api.github.com/users/zhreshold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhreshold/subscriptions","organizations_url":"https://api.github.com/users/zhreshold/orgs","repos_url":"https://api.github.com/users/zhreshold/repos","events_url":"https://api.github.com/users/zhreshold/events{/privacy}","received_events_url":"https://api.github.com/users/zhreshold/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T20:05:30Z","updated_at":"2016-11-15T20:05:30Z","body":"#3840 Submitted, should fix it."}}
{"actor":{"display_login":"zhreshold"}}