{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/216","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/216/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/216/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/216","id":100827428,"number":216,"title":"ImportError: No module named caffe","user":{"login":"dbl001","id":3105499,"avatar_url":"https://avatars.githubusercontent.com/u/3105499?v=3","gravatar_id":"","url":"https://api.github.com/users/dbl001","html_url":"https://github.com/dbl001","followers_url":"https://api.github.com/users/dbl001/followers","following_url":"https://api.github.com/users/dbl001/following{/other_user}","gists_url":"https://api.github.com/users/dbl001/gists{/gist_id}","starred_url":"https://api.github.com/users/dbl001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbl001/subscriptions","organizations_url":"https://api.github.com/users/dbl001/orgs","repos_url":"https://api.github.com/users/dbl001/repos","events_url":"https://api.github.com/users/dbl001/events{/privacy}","received_events_url":"https://api.github.com/users/dbl001/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NVIDIA/DIGITS/labels/caffe","name":"caffe","color":"755638"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-13T17:41:42Z","updated_at":"2015-08-25T05:56:03Z","closed_at":"2015-08-13T20:00:35Z","body":"Hi,\r\n\r\nI followed the instruction for building Digits on Ubuntu 14.04.2 LTS here:\r\nhttps://github.com/NVIDIA/DIGITS/blob/master/docs/InstallCaffe.md\r\n\r\n$ conda -version\r\nubuntu@ip-10-0-1-195:~/caffe$ conda -V\r\nconda 3.16.0\r\n\r\nubuntu@ip-10-0-1-195:~/caffe$ anaconda -V\r\nanaconda Command line client (version 1.0.1)\r\nubuntu@ip-10-0-1-195:~/caffe$ conda update anaconda\r\nFetching package metadata: ....\r\n# All requested packages already installed.\r\n# packages in environment at /home/ubuntu/anaconda:\r\n#\r\nanaconda                  2.3.0                np19py27_0  \r\n\r\nubuntu@ip-10-0-1-195:~/caffe$ make py\r\nmake: Nothing to be done for `py'.\r\nubuntu@ip-10-0-1-195:~/caffe$ make distribute\r\n# add include\r\ncp -r include distribute/\r\nmkdir -p distribute/include/caffe/proto\r\ncp .build_release/src/caffe/proto/caffe.pb.h distribute/include/caffe/proto\r\n# add tool and example binaries\r\ncp .build_release/tools/upgrade_net_proto_binary.bin .build_release/tools/convert_imageset.bin .build_release/tools/train_net.bin .build_release/tools/finetune_net.bin .build_release/tools/upgrade_net_proto_text.bin .build_release/tools/net_speed_benchmark.bin .build_release/tools/extract_features.bin .build_release/tools/device_query.bin .build_release/tools/test_net.bin .build_release/tools/compute_image_mean.bin .build_release/tools/caffe.bin distribute/bin\r\ncp .build_release/examples/cifar10/convert_cifar_data.bin .build_release/examples/siamese/convert_mnist_siamese_data.bin .build_release/examples/mnist/convert_mnist_data.bin distribute/bin\r\n# add libraries\r\ncp .build_release/lib/libcaffe-nv.a distribute/lib\r\ncp .build_release/lib/libcaffe-nv.so.0.12.2 distribute/lib\r\ncd distribute/lib; rm -f libcaffe-nv.so.0; ln -s libcaffe-nv.so.0.12.2 libcaffe-nv.so.0\r\ncd distribute/lib; rm -f libcaffe-nv.so;   ln -s libcaffe-nv.so.0 libcaffe-nv.so\r\n# add python - it's not the standard way, indeed...\r\ncp -r python distribute/python\r\nubuntu@ip-10-0-1-195:~/caffe$ ipython \r\nPython 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 17:02:03) \r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 3.2.0 -- An enhanced Interactive Python.\r\nAnaconda is brought to you by Continuum Analytics.\r\nPlease check out: http://continuum.io/thanks and https://anaconda.org\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\n\r\nIn [1]: import caffe\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-1-1cca3aa1f8c5> in <module>()\r\n----> 1 import caffe\r\n\r\nImportError: No module named caffe\r\n\r\nAny ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments/134489181","html_url":"https://github.com/NVIDIA/DIGITS/issues/216#issuecomment-134489181","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/216","id":134489181,"user":{"login":"sarkeribrahim","id":1273214,"avatar_url":"https://avatars.githubusercontent.com/u/1273214?v=3","gravatar_id":"","url":"https://api.github.com/users/sarkeribrahim","html_url":"https://github.com/sarkeribrahim","followers_url":"https://api.github.com/users/sarkeribrahim/followers","following_url":"https://api.github.com/users/sarkeribrahim/following{/other_user}","gists_url":"https://api.github.com/users/sarkeribrahim/gists{/gist_id}","starred_url":"https://api.github.com/users/sarkeribrahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarkeribrahim/subscriptions","organizations_url":"https://api.github.com/users/sarkeribrahim/orgs","repos_url":"https://api.github.com/users/sarkeribrahim/repos","events_url":"https://api.github.com/users/sarkeribrahim/events{/privacy}","received_events_url":"https://api.github.com/users/sarkeribrahim/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T05:56:02Z","updated_at":"2015-08-25T05:56:02Z","body":"thanks for replay,\n\n\n*now digits run. but it seems some problems like*\n\n\n(venv)ibrhaim@ibrhaim-B85M-D3H:~/digits/digits$ ./digits-server\n2015-08-25 14:02:02 [8051] [INFO] Starting gunicorn 17.5\ncudaRuntimeGetVersion() failed with error #38\n<https://github.com/NVIDIA/DIGITS/pull/38>\n2015-08-25 14:02:06 [8051] [DEBUG] Arbiter booted\n2015-08-25 14:02:06 [8051] [INFO] Listening at: http://0.0.0.0:8080 (8051)\n2015-08-25 14:02:06 [8051] [INFO] Using worker:\nsocketio.sgunicorn.GeventSocketIOWorker\n2015-08-25 14:02:06 [8087] [INFO] Booting worker with pid: 8087\n2015-08-25 14:29:38 [20150825-142937-d69e] [INFO ] Parse Folder (train/val)\ntask started.\n2015-08-25 14:29:39 [20150825-142937-d69e] [WARNING] Parse Folder\n(train/val) unrecognized output: cudaRuntimeGetVersion() failed with error\n#38 <https://github.com/NVIDIA/DIGITS/pull/38>\n\n\n<https://github.com/NVIDIA/DIGITS/pull/38>\n\n*in is it need to configure http://0.0.0.0:8080 <http://0.0.0.0:8080>\n(8051) tohttp://0.0.0.0:5000/ <http://0.0.0.0:5000/> ????*\n*and i see in tutorial,after running ./digits-server , it looks like*\n\n\n% ./digits-devserver\n\n  ___ ___ ___ ___ _____ ___\n |   \\_ _/ __|_ _|_   _/ __|\n | |) | | (_ || |  | | \\__ \\\n |___/___\\___|___| |_| |___/\n\n\n*but in my case it shows some error, *\n\n*and when i train a dataset then it shows like...*\n\n\n2015-08-25 14:29:42 [20150825-142937-d69e] [DEBUG] Total images added: 10\n2015-08-25 14:29:42 [20150825-142937-d69e] [INFO ] Create DB (train) task\ncompleted.\n2015-08-25 14:29:42 [20150825-142937-d69e] [DEBUG] Total images added: 3\n2015-08-25 14:29:42 [20150825-142937-d69e] [INFO ] Create DB (val) task\ncompleted.\n2015-08-25 14:29:43 [20150825-142937-d69e] [INFO ] Job complete.\n2015-08-25 14:30:57 [20150825-143055-1f9f] [INFO ] Train Caffe Model task\nstarted.\n2015-08-25 14:31:48 [8051] [INFO] Handling signal: winch\n2015-08-25 14:31:48 [8051] [INFO] SIGWINCH ignored. Not daemonized\n2015-08-25 14:31:48 [8051] [INFO] Handling signal: winch\n2015-08-25 14:31:48 [8051] [INFO] SIGWINCH ignored. Not daemonized\n2015-08-25 14:31:48 [8051] [INFO] Handling signal: winch\n2015-08-25 14:31:48 [8051] [INFO] SIGWINCH ignored. Not daemonized\n2015-08-25 14:31:48 [8051] [INFO] Handling signal: winch\n2015-08-25 14:31:48 [8051] [INFO] SIGWINCH ignored. Not daemonized\n2015-08-25 14:31:48 [8051] [INFO] Handling signal: winch\n2015-08-25 14:31:48 [8051] [INFO] SIGWINCH ignored. Not daemonized\n\nIf you get time please replay...\n\nOn Tue, Aug 25, 2015 at 12:08 PM, dbl <notifications@github.com> wrote:\n\n> Hi,\n>\n> The information below suggests a different issue.\n> I see you are using a python 2.7 distribution (I was using Anaconda).\n>\n> Is the skiimage.io package installed?\n> What happens if you run:\n>\n> $ pip install -U scikit-image\n>\n> > On Aug 24, 2015, at 7:29 PM, ibrahim sarker <notifications@github.com>\n> wrote:\n> >\n> > can you please tell me how you solve your this problem\n> > (venv)ibrhaim@ibrhaim-B85M-D3H:~/digits/digits$ ./digits-server\n> > 2015-08-25 11:09:59 [5679] [INFO] Starting gunicorn 17.5\n> > cudaRuntimeGetVersion() failed with error #38 <\n> https://github.com/NVIDIA/DIGITS/pull/38>\n> > Did you forget to \"make pycaffe\"?\n> > Traceback (most recent call last):\n> > File \"/home/ibrhaim/venv/bin/gunicorn\", line 9, in\n> > load_entry_point('gunicorn==17.5', 'console_scripts', 'gunicorn')()\n> > File\n> \"/home/ibrhaim/venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py\",\n> line 42, in run\n> > WSGIApplication(\"%(prog)s [OPTIONS] APP_MODULE\").run()\n> > File\n> \"/home/ibrhaim/venv/local/lib/python2.7/site-packages/gunicorn/app/base.py\",\n> line 144, in run\n> > Arbiter(self).run()\n> > File\n> \"/home/ibrhaim/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py\",\n> line 165, in run\n> > self.start()\n> > File\n> \"/home/ibrhaim/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py\",\n> line 124, in start\n> > self.cfg.on_starting(self)\n> > File \"gunicorn_config.py\", line 9, in on_starting\n> > config.load_config()\n> > File \"/home/ibrhaim/digits/digits/digits/config/load.py\", line 147, in\n> load_config\n> > option.apply()\n> > File \"/home/ibrhaim/digits/digits/digits/config/caffe_option.py\", line\n> 243, in apply\n> > import caffe\n> > File \"/home/ibrhaim/caffe/python/caffe/init.py\", line 1, in\n> > from .pycaffe import Net, SGDSolver\n> > File \"/home/ibrhaim/caffe/python/caffe/pycaffe.py\", line 14, in\n> > import caffe.io\n> > File \"/home/ibrhaim/caffe/python/caffe/io.py\", line 2, in\n> > import skimage.io\n> > ImportError: No module named skimage.io\n> >\n> > —\n> > Reply to this email directly or view it on GitHub <\n> https://github.com/NVIDIA/DIGITS/issues/216#issuecomment-134454115>.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/NVIDIA/DIGITS/issues/216#issuecomment-134461305>.\n>\n\n\n\n-- \nWith  Regards,\n싸커모하매드이브라힘\nMohammad Ibrahim Sarker\nROBOT VISION LAB, Room No. 407, Engineering Building No. 2-7\nDivision of Electronics Engineering\nChonbuk National University\n664-14 1ga Duckjin-Dong Duckjin-Gu\nJeonju Jeonbuk 561-756 SOUTH KOREA\n"}}