{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1911","repository_url":"https://api.github.com/repos/NVIDIA/DIGITS","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1911/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1911/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1911/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/1911","id":280706216,"node_id":"MDU6SXNzdWUyODA3MDYyMTY=","number":1911,"title":"Digits with Caffe on CPU","user":{"login":"laszl0","id":12384750,"node_id":"MDQ6VXNlcjEyMzg0NzUw","avatar_url":"https://avatars2.githubusercontent.com/u/12384750?v=4","gravatar_id":"","url":"https://api.github.com/users/laszl0","html_url":"https://github.com/laszl0","followers_url":"https://api.github.com/users/laszl0/followers","following_url":"https://api.github.com/users/laszl0/following{/other_user}","gists_url":"https://api.github.com/users/laszl0/gists{/gist_id}","starred_url":"https://api.github.com/users/laszl0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszl0/subscriptions","organizations_url":"https://api.github.com/users/laszl0/orgs","repos_url":"https://api.github.com/users/laszl0/repos","events_url":"https://api.github.com/users/laszl0/events{/privacy}","received_events_url":"https://api.github.com/users/laszl0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-12-09T09:55:14Z","updated_at":"2018-06-13T12:58:54Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nNot sure where this information belongs, just wanted to share.\r\n\r\nI wanted to use digits on my MacBook Pro 13 without GPU.\r\n(also have another system, digits+coreos on top of gtx1070)\r\n\r\nPulled the latest docker image 6.0 \r\nmeanwhile searching around the net how to run digits with caffe on CPU.\r\n\r\nThe suggestions that i found in multiple places was to [compile caffe on OSX](http://caffe.berkeleyvision.org/install_osx.html),\r\nthen use the [CAFFE_ROOT](https://github.com/NVIDIA/DIGITS/blob/digits-6.0/docs/Configuration.md) environment variable to point it to my local build of caffe.\r\n\r\nI did not want to install caffe on my MacBook, because i want to use docker for these kind of situations.\r\n\r\nLooked at [caffe cpu Dockerfile](https://github.com/BVLC/caffe/blob/master/docker/cpu/Dockerfile)\r\nand compared it with [digits 6.0 Dockerfile](https://gitlab.com/nvidia/digits/blob/master/6.0/Dockerfile) \r\nto see what is the difference in parameters for cmake.\r\n\r\nFired up VSC, created a Dockerfile then pasted the contents of digits 6.0 Dockerfile.\r\n\r\nChanged the line 70:\r\n`cmake -DCMAKE_INSTALL_PREFIX=/usr/local/caffe -DUSE_NCCL=ON -DUSE_CUDNN=ON -DCUDA_ARCH_NAME=Manual -DCUDA_ARCH_BIN=\"35 52 60 61\" -DCUDA_ARCH_PTX=\"61\" .. && \\ \r\n`\r\n\r\nto \r\n`\r\ncmake -DCMAKE_INSTALL_PREFIX=/usr/local/caffe -DCPU_ONLY=1 .. && \\\r\n`\r\n\r\nand run docker build.\r\n\r\nWhile docker was building, prepared a small dataset for object detection.\r\nAfter docker build, run the image, configured the dataset and model parameters in digits,\r\nthen started training.\r\nCaffe was running in CPU mode, training my model.\r\n\r\nQuestion, can this information be included in the docs?\r\nFor people who want to use digits with caffe on cpu for whatever reasons.\r\n\r\nOr there are complications when doing so and i'm not aware because not knowing enough.\r\n\r\nThanks.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments/396927978","html_url":"https://github.com/NVIDIA/DIGITS/issues/1911#issuecomment-396927978","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/1911","id":396927978,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkyNzk3OA==","user":{"login":"ontheway16","id":23200711,"node_id":"MDQ6VXNlcjIzMjAwNzEx","avatar_url":"https://avatars0.githubusercontent.com/u/23200711?v=4","gravatar_id":"","url":"https://api.github.com/users/ontheway16","html_url":"https://github.com/ontheway16","followers_url":"https://api.github.com/users/ontheway16/followers","following_url":"https://api.github.com/users/ontheway16/following{/other_user}","gists_url":"https://api.github.com/users/ontheway16/gists{/gist_id}","starred_url":"https://api.github.com/users/ontheway16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ontheway16/subscriptions","organizations_url":"https://api.github.com/users/ontheway16/orgs","repos_url":"https://api.github.com/users/ontheway16/repos","events_url":"https://api.github.com/users/ontheway16/events{/privacy}","received_events_url":"https://api.github.com/users/ontheway16/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T12:58:54Z","updated_at":"2018-06-13T12:58:54Z","author_association":"NONE","body":"@laszl0 Please send me an email since I dont know if its possible to find mail info from here.  mail is   al,p9,7 at ho,tma,il.com  please remove all commas."}}
{"actor":{"display_login":"ontheway16"}}