{"action":"created","issue":{"url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/33","repository_url":"https://api.github.com/repos/cvlab-epfl/LIFT","labels_url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/33/comments","events_url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/33/events","html_url":"https://github.com/cvlab-epfl/LIFT/issues/33","id":312297909,"number":33,"title":"Segmentation fault (cure dumped)  when python compute_detector.py......","user":{"login":"libaosir2","id":23120635,"avatar_url":"https://avatars2.githubusercontent.com/u/23120635?v=4","gravatar_id":"","url":"https://api.github.com/users/libaosir2","html_url":"https://github.com/libaosir2","followers_url":"https://api.github.com/users/libaosir2/followers","following_url":"https://api.github.com/users/libaosir2/following{/other_user}","gists_url":"https://api.github.com/users/libaosir2/gists{/gist_id}","starred_url":"https://api.github.com/users/libaosir2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libaosir2/subscriptions","organizations_url":"https://api.github.com/users/libaosir2/orgs","repos_url":"https://api.github.com/users/libaosir2/repos","events_url":"https://api.github.com/users/libaosir2/events{/privacy}","received_events_url":"https://api.github.com/users/libaosir2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-08T11:32:07Z","updated_at":"2018-04-10T07:14:24Z","closed_at":null,"author_association":"NONE","body":"when i run the run.sh , and use opencv3.1.0 to get libSIFT.so , error occurs as follow:\r\n./run.sh: line 74:  3091 Segmentation fault      (core dumped) python compute_detector.py $_LIFT_TEST_CONFIG $_LIFT_TEST_IMG $_LIFT_KP_FILE_NAME $_LIFT_SAVE_PNG $_LIFT_USE_THEANO 0 $_LIFT_MODEL_DIR $_LIFT_NUM_KEYPOINT\r\n/home/lbg/devdata/anaconda2/envs/py2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\r\n  from ._conv import register_converters as _register_converters\r\nTraceback (most recent call last):\r\n  File \"compute_orientation.py\", line 107, in <module>\r\n    test_data_in = data_module.data_obj(param, image_file_name, kp_file_name)\r\n  File \"/home/lbg/devdata/LIFT/python-code/Utils/dataset_tools/test.py\", line 64, in __init__\r\n    self.load_data(param, image_file_name, kp_file_name)\r\n  File \"/home/lbg/devdata/LIFT/python-code/Utils/dataset_tools/test.py\", line 82, in load_data\r\n    pathconf, param, image_file_name, kp_file_name)\r\n  File \"/home/lbg/devdata/LIFT/python-code/Utils/dataset_tools/test.py\", line 136, in load_data_for_set\r\n    angle = np.pi / 180.0 * kp[:, IDX_ANGLE]  # store angle in radians\r\nIndexError: too many indices for array\r\n\r\n\r\nAnd i localizate the error at sift_tools.py line 77:libSIFT.recomputeOrientation(c_void_p(indata.ctypes.data). \r\nbut i have no idea about it...what should i do with this error?\r\nthanks a lot\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/comments/379998562","html_url":"https://github.com/cvlab-epfl/LIFT/issues/33#issuecomment-379998562","issue_url":"https://api.github.com/repos/cvlab-epfl/LIFT/issues/33","id":379998562,"user":{"login":"libaosir2","id":23120635,"avatar_url":"https://avatars2.githubusercontent.com/u/23120635?v=4","gravatar_id":"","url":"https://api.github.com/users/libaosir2","html_url":"https://github.com/libaosir2","followers_url":"https://api.github.com/users/libaosir2/followers","following_url":"https://api.github.com/users/libaosir2/following{/other_user}","gists_url":"https://api.github.com/users/libaosir2/gists{/gist_id}","starred_url":"https://api.github.com/users/libaosir2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libaosir2/subscriptions","organizations_url":"https://api.github.com/users/libaosir2/orgs","repos_url":"https://api.github.com/users/libaosir2/repos","events_url":"https://api.github.com/users/libaosir2/events{/privacy}","received_events_url":"https://api.github.com/users/libaosir2/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T07:14:24Z","updated_at":"2018-04-10T07:14:24Z","author_association":"NONE","body":"ok，i willl try it . Thank you."}}
{"actor":{"display_login":"libaosir2"}}