{"action":"created","issue":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/472","repository_url":"https://api.github.com/repos/ageitgey/face_recognition","labels_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/472/comments","events_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/472/events","html_url":"https://github.com/ageitgey/face_recognition/issues/472","id":319508028,"number":472,"title":"RuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1","user":{"login":"vinay-kumar","id":1014181,"avatar_url":"https://avatars3.githubusercontent.com/u/1014181?v=4","gravatar_id":"","url":"https://api.github.com/users/vinay-kumar","html_url":"https://github.com/vinay-kumar","followers_url":"https://api.github.com/users/vinay-kumar/followers","following_url":"https://api.github.com/users/vinay-kumar/following{/other_user}","gists_url":"https://api.github.com/users/vinay-kumar/gists{/gist_id}","starred_url":"https://api.github.com/users/vinay-kumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinay-kumar/subscriptions","organizations_url":"https://api.github.com/users/vinay-kumar/orgs","repos_url":"https://api.github.com/users/vinay-kumar/repos","events_url":"https://api.github.com/users/vinay-kumar/events{/privacy}","received_events_url":"https://api.github.com/users/vinay-kumar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-02T11:05:17Z","updated_at":"2018-05-14T18:47:07Z","closed_at":"2018-05-03T04:36:40Z","author_association":"NONE","body":"* face_recognition version: 1.2.2\r\n* Python version: 2.7\r\n* Operating System: Ubuntu\r\n\r\n### Description\r\n\r\nDescribe what you were trying to get done.\r\nInstalled latest dlib from source to enable CUDA\r\n\r\nTell us what happened, what went wrong, and what you expected to happen.\r\nSimply running face_recognition program yielded error\r\n\r\n\r\n\r\n\r\n### What I Did\r\n\r\n```\r\nFile \"face_recog.py\", line 108, in <module>\r\n    face_locations = face_recognition.face_locations(rgb_small_frame)\r\n  File \"/home/mobico/.local/lib/python2.7/site-packages/face_recognition/api.py\", line 118, in face_locations\r\n    return [_trim_css_to_bounds(_rect_to_css(face), img.shape) for face in _raw_face_locations(img, number_of_times_to_upsample, model)]\r\n  File \"/home/mobico/.local/lib/python2.7/site-packages/face_recognition/api.py\", line 102, in _raw_face_locations\r\n    return face_detector(img, number_of_times_to_upsample)\r\nRuntimeError: The stride of the 3rd dimension (the channel dimension) of the numpy array must be 1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ageitgey/face_recognition/issues/comments/388922394","html_url":"https://github.com/ageitgey/face_recognition/issues/472#issuecomment-388922394","issue_url":"https://api.github.com/repos/ageitgey/face_recognition/issues/472","id":388922394,"user":{"login":"jamemyjamess","id":34309930,"avatar_url":"https://avatars3.githubusercontent.com/u/34309930?v=4","gravatar_id":"","url":"https://api.github.com/users/jamemyjamess","html_url":"https://github.com/jamemyjamess","followers_url":"https://api.github.com/users/jamemyjamess/followers","following_url":"https://api.github.com/users/jamemyjamess/following{/other_user}","gists_url":"https://api.github.com/users/jamemyjamess/gists{/gist_id}","starred_url":"https://api.github.com/users/jamemyjamess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamemyjamess/subscriptions","organizations_url":"https://api.github.com/users/jamemyjamess/orgs","repos_url":"https://api.github.com/users/jamemyjamess/repos","events_url":"https://api.github.com/users/jamemyjamess/events{/privacy}","received_events_url":"https://api.github.com/users/jamemyjamess/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T18:47:07Z","updated_at":"2018-05-14T18:47:07Z","author_association":"NONE","body":"@zhihuilics Now it work! thanks you so much."}}
{"actor":{"display_login":"jamemyjamess"}}