{"action":"created","issue":{"url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/3","labels_url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/3/comments","events_url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/3/events","html_url":"https://github.com/kuz/caffe-with-spearmint/issues/3","id":102561411,"number":3,"title":"Interface for GPU","user":{"login":"haoyangz","id":7362283,"avatar_url":"https://avatars.githubusercontent.com/u/7362283?v=3","gravatar_id":"","url":"https://api.github.com/users/haoyangz","html_url":"https://github.com/haoyangz","followers_url":"https://api.github.com/users/haoyangz/followers","following_url":"https://api.github.com/users/haoyangz/following{/other_user}","gists_url":"https://api.github.com/users/haoyangz/gists{/gist_id}","starred_url":"https://api.github.com/users/haoyangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoyangz/subscriptions","organizations_url":"https://api.github.com/users/haoyangz/orgs","repos_url":"https://api.github.com/users/haoyangz/repos","events_url":"https://api.github.com/users/haoyangz/events{/privacy}","received_events_url":"https://api.github.com/users/haoyangz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-22T19:30:55Z","updated_at":"2015-08-23T10:55:46Z","closed_at":"2015-08-23T08:58:23Z","body":"If I understand  the [code](https://github.com/kuz/caffe-with-spearmint/blob/master/cwsm/cafferun.py#L73 ) correctly , currently it would only run on CPU.  It would be nice and necessary for run.py to accept an optional parameter that specifies the GPU number and to run the code on the corresponding GPU."},"comment":{"url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/comments/133817085","html_url":"https://github.com/kuz/caffe-with-spearmint/issues/3#issuecomment-133817085","issue_url":"https://api.github.com/repos/kuz/caffe-with-spearmint/issues/3","id":133817085,"user":{"login":"haoyangz","id":7362283,"avatar_url":"https://avatars.githubusercontent.com/u/7362283?v=3","gravatar_id":"","url":"https://api.github.com/users/haoyangz","html_url":"https://github.com/haoyangz","followers_url":"https://api.github.com/users/haoyangz/followers","following_url":"https://api.github.com/users/haoyangz/following{/other_user}","gists_url":"https://api.github.com/users/haoyangz/gists{/gist_id}","starred_url":"https://api.github.com/users/haoyangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoyangz/subscriptions","organizations_url":"https://api.github.com/users/haoyangz/orgs","repos_url":"https://api.github.com/users/haoyangz/repos","events_url":"https://api.github.com/users/haoyangz/events{/privacy}","received_events_url":"https://api.github.com/users/haoyangz/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T10:55:46Z","updated_at":"2015-08-23T10:55:46Z","body":"Right, I understand. But in our case we have several GPUs in the lab and we usually use \"--gpu 2\" for example to specify which GPU it should run so that people in the lab don't interference with each other. It's a minor feature though, I admit."}}