{"action":"created","issue":{"url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/462","repository_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose","labels_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/462/comments","events_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/462/events","html_url":"https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/462","id":301809399,"number":462,"title":"Using KeepTopNPeople crashes the application","user":{"login":"matthiasferch","id":767384,"avatar_url":"https://avatars1.githubusercontent.com/u/767384?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasferch","html_url":"https://github.com/matthiasferch","followers_url":"https://api.github.com/users/matthiasferch/followers","following_url":"https://api.github.com/users/matthiasferch/following{/other_user}","gists_url":"https://api.github.com/users/matthiasferch/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasferch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasferch/subscriptions","organizations_url":"https://api.github.com/users/matthiasferch/orgs","repos_url":"https://api.github.com/users/matthiasferch/repos","events_url":"https://api.github.com/users/matthiasferch/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasferch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-02T15:44:09Z","updated_at":"2018-03-05T16:11:52Z","closed_at":null,"author_association":"NONE","body":"### Issue Summary\r\n\r\nApplication crashes after a seemingly random interval if the new KeepTopNPeople worker is added to pose estimation.\r\n\r\n### OpenPose Output\r\n```\r\nError:\r\nIndex out of bounds: 0 <= index && index < mVolume\r\n\r\nComing from:\r\n  \\Projects\\openpose\\src\\openpose\\core\\array.cpp:op::Array<float>::commonAt():467\r\n  \\Projects\\openpose\\src\\openpose\\core\\array.cpp:op::Array<float>::commonAt():473\r\n   \r\n  \\Projects\\openpose\\src\\openpose\\core\\keepTopNPeople.cpp:op::KeepTopNPeople::keepTopPeople():82\r\n  \\Projects\\openpose\\include\\openpose\\core\\wKeepTopNPeople.hpp:op::WKeepTopNPeople<class std::shared_ptr<class std::vector<struct op::Datum,class std::allocator<struct op::Datum>>> >::work():76\r\n```\r\n\r\n### Type of Issue\r\nYou might select multiple topics, delete the rest:\r\n- Execution error\r\n\r\n### Your System Configuration\r\n**Operating system**: Windows 10\r\n**Installation mode**: CMake, VS2015\r\n**CUDA version**: 8.0\r\n**Release or Debug mode**: both\r\n**GPU model**: NVIDIA GeForce GTX 1050\r\n**Caffe version**: Custom build\r\n**OpenCV version**: OpenPose default"},"comment":{"url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/comments/370471009","html_url":"https://github.com/CMU-Perceptual-Computing-Lab/openpose/issues/462#issuecomment-370471009","issue_url":"https://api.github.com/repos/CMU-Perceptual-Computing-Lab/openpose/issues/462","id":370471009,"user":{"login":"gineshidalgo99","id":7797094,"avatar_url":"https://avatars3.githubusercontent.com/u/7797094?v=4","gravatar_id":"","url":"https://api.github.com/users/gineshidalgo99","html_url":"https://github.com/gineshidalgo99","followers_url":"https://api.github.com/users/gineshidalgo99/followers","following_url":"https://api.github.com/users/gineshidalgo99/following{/other_user}","gists_url":"https://api.github.com/users/gineshidalgo99/gists{/gist_id}","starred_url":"https://api.github.com/users/gineshidalgo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gineshidalgo99/subscriptions","organizations_url":"https://api.github.com/users/gineshidalgo99/orgs","repos_url":"https://api.github.com/users/gineshidalgo99/repos","events_url":"https://api.github.com/users/gineshidalgo99/events{/privacy}","received_events_url":"https://api.github.com/users/gineshidalgo99/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T16:11:52Z","updated_at":"2018-03-05T16:11:52Z","author_association":"OWNER","body":"I have run that video with no problem in OpenPose. In addition, there is no line 123 in `wKeepTopNPeople`, I guess you are referring to line 59. If you are implementing some custom code, I think you might be changing something else, as I am not being able to replicate this error with the software. If you are not detecting face or hands, then both of those arrays should be completely empty, therefore that line cannot crash. Make sure both tDatum.faceKeypoints.empty() and tDatum.handKeypoints.empty() are true."}}
{"actor":{"display_login":"gineshidalgo99"}}