{"action":"created","issue":{"url":"https://api.github.com/repos/deepinsight/insightface/issues/95","repository_url":"https://api.github.com/repos/deepinsight/insightface","labels_url":"https://api.github.com/repos/deepinsight/insightface/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/deepinsight/insightface/issues/95/comments","events_url":"https://api.github.com/repos/deepinsight/insightface/issues/95/events","html_url":"https://github.com/deepinsight/insightface/issues/95","id":304627557,"number":95,"title":"RuntimeError: simple_bind error. Arguments: data: (1, 3, 112, 112)","user":{"login":"wangzhechn","id":24938369,"avatar_url":"https://avatars2.githubusercontent.com/u/24938369?v=4","gravatar_id":"","url":"https://api.github.com/users/wangzhechn","html_url":"https://github.com/wangzhechn","followers_url":"https://api.github.com/users/wangzhechn/followers","following_url":"https://api.github.com/users/wangzhechn/following{/other_user}","gists_url":"https://api.github.com/users/wangzhechn/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzhechn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzhechn/subscriptions","organizations_url":"https://api.github.com/users/wangzhechn/orgs","repos_url":"https://api.github.com/users/wangzhechn/repos","events_url":"https://api.github.com/users/wangzhechn/events{/privacy}","received_events_url":"https://api.github.com/users/wangzhechn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T04:51:55Z","updated_at":"2018-03-23T07:20:09Z","closed_at":"2018-03-13T05:47:25Z","author_association":"NONE","body":"错误日志：\r\n> [root@flamingo deploy]# python test.py \r\nloading ../models/model-r50-am-lfw/model 0\r\n[12:44:35] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.12.1. Attempting to upgrade...\r\n[12:44:35] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded!\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 16, in <module>\r\n    model = face_embedding.FaceModel(args)\r\n  File \"/home/insightface/deploy/face_embedding.py\", line 56, in __init__\r\n    model.bind(data_shapes=[('data', (1, 3, image_size[0], image_size[1]))])\r\n  File \"/usr/lib/python2.7/site-packages/mxnet/module/module.py\", line 429, in bind\r\n    state_names=self._state_names)\r\n  File \"/usr/lib/python2.7/site-packages/mxnet/module/executor_group.py\", line 264, in __init__\r\n    self.bind_exec(data_shapes, label_shapes, shared_group)\r\n  File \"/usr/lib/python2.7/site-packages/mxnet/module/executor_group.py\", line 360, in bind_exec\r\n    shared_group))\r\n  File \"/usr/lib/python2.7/site-packages/mxnet/module/executor_group.py\", line 638, in _bind_ith_exec\r\n    shared_buffer=shared_data_arrays, **input_shapes)\r\n  File \"/usr/lib/python2.7/site-packages/mxnet/symbol/symbol.py\", line 1518, in simple_bind\r\n    raise RuntimeError(error_msg)\r\nRuntimeError: simple_bind error. Arguments:\r\ndata: (1, 3, 112, 112)\r\n[12:44:35] src/storage/storage.cc:118: Compile with USE_CUDA=1 to enable GPU usage\r\n\r\nStack trace returned 10 entries:\r\n[bt] (0) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x192112) [0x7f542a311112]\r\n[bt] (1) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x192738) [0x7f542a311738]\r\n[bt] (2) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x27c165a) [0x7f542c94065a]\r\n[bt] (3) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x27c6254) [0x7f542c945254]\r\n[bt] (4) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x27c6727) [0x7f542c945727]\r\n[bt] (5) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x232da3d) [0x7f542c4aca3d]\r\n[bt] (6) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x2337db4) [0x7f542c4b6db4]\r\n[bt] (7) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x2338d4c) [0x7f542c4b7d4c]\r\n[bt] (8) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x233d5c8) [0x7f542c4bc5c8]\r\n[bt] (9) /usr/lib/python2.7/site-packages/mxnet/libmxnet.so(+0x2347d1a) [0x7f542c4c6d1a]\r\n\r\n请问这是什么原因"},"comment":{"url":"https://api.github.com/repos/deepinsight/insightface/issues/comments/375565665","html_url":"https://github.com/deepinsight/insightface/issues/95#issuecomment-375565665","issue_url":"https://api.github.com/repos/deepinsight/insightface/issues/95","id":375565665,"user":{"login":"wangzhechn","id":24938369,"avatar_url":"https://avatars2.githubusercontent.com/u/24938369?v=4","gravatar_id":"","url":"https://api.github.com/users/wangzhechn","html_url":"https://github.com/wangzhechn","followers_url":"https://api.github.com/users/wangzhechn/followers","following_url":"https://api.github.com/users/wangzhechn/following{/other_user}","gists_url":"https://api.github.com/users/wangzhechn/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzhechn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzhechn/subscriptions","organizations_url":"https://api.github.com/users/wangzhechn/orgs","repos_url":"https://api.github.com/users/wangzhechn/repos","events_url":"https://api.github.com/users/wangzhechn/events{/privacy}","received_events_url":"https://api.github.com/users/wangzhechn/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T07:20:09Z","updated_at":"2018-03-23T07:20:09Z","author_association":"NONE","body":"@Silencesss 你的机器不支持GPU 运算，改下test 里面mxnet调用的代码\r\n"}}
{"actor":{"display_login":"wangzhechn"}}