{"action":"created","issue":{"url":"https://api.github.com/repos/davisking/dlib/issues/252","repository_url":"https://api.github.com/repos/davisking/dlib","labels_url":"https://api.github.com/repos/davisking/dlib/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/davisking/dlib/issues/252/comments","events_url":"https://api.github.com/repos/davisking/dlib/issues/252/events","html_url":"https://github.com/davisking/dlib/issues/252","id":179394639,"number":252,"title":"Out of memory","user":{"login":"thaiat","id":4806944,"avatar_url":"https://avatars.githubusercontent.com/u/4806944?v=3","gravatar_id":"","url":"https://api.github.com/users/thaiat","html_url":"https://github.com/thaiat","followers_url":"https://api.github.com/users/thaiat/followers","following_url":"https://api.github.com/users/thaiat/following{/other_user}","gists_url":"https://api.github.com/users/thaiat/gists{/gist_id}","starred_url":"https://api.github.com/users/thaiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaiat/subscriptions","organizations_url":"https://api.github.com/users/thaiat/orgs","repos_url":"https://api.github.com/users/thaiat/repos","events_url":"https://api.github.com/users/thaiat/events{/privacy}","received_events_url":"https://api.github.com/users/thaiat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-09-27T04:24:33Z","updated_at":"2016-09-27T14:56:38Z","closed_at":"2016-09-27T14:35:32Z","body":"Hi,\r\n\r\nI have compiled dlib on a AWS GPU instance (4G). \r\nWhen running `dnn_mmod_ex faces` i get the following error:\r\n```\r\nnum training images: 4\r\nnum testing images:  5\r\ndetection window width,height:      40,40\r\noverlap NMS IOU thresh:             0.0781701\r\noverlap NMS percent covered thresh: 0.257122\r\nstep#: 0     learning rate: 0.1   average loss: 0           steps without apparent progress: 0\r\nError while calling cudaMalloc(&data, new_size*sizeof(float)) in file /home/ubuntu/dlib/dlib/dnn/gpu_data.cpp:191. code: 2, reason: out of memory\r\n```\r\n\r\nAny idea what i'm doing wrong ?\r\n"},"comment":{"url":"https://api.github.com/repos/davisking/dlib/issues/comments/249889922","html_url":"https://github.com/davisking/dlib/issues/252#issuecomment-249889922","issue_url":"https://api.github.com/repos/davisking/dlib/issues/252","id":249889922,"user":{"login":"davisking","id":6259399,"avatar_url":"https://avatars.githubusercontent.com/u/6259399?v=3","gravatar_id":"","url":"https://api.github.com/users/davisking","html_url":"https://github.com/davisking","followers_url":"https://api.github.com/users/davisking/followers","following_url":"https://api.github.com/users/davisking/following{/other_user}","gists_url":"https://api.github.com/users/davisking/gists{/gist_id}","starred_url":"https://api.github.com/users/davisking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davisking/subscriptions","organizations_url":"https://api.github.com/users/davisking/orgs","repos_url":"https://api.github.com/users/davisking/repos","events_url":"https://api.github.com/users/davisking/events{/privacy}","received_events_url":"https://api.github.com/users/davisking/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T14:56:37Z","updated_at":"2016-09-27T14:56:37Z","body":"Either cut the image into pieces or compile the code without CUDA enabled.\n"}}
{"actor":{"display_login":"davisking"}}