How to compile DIGITS in windows

1,779 views
Skip to first unread message

Hossein Hasanpour

unread,
Jan 18, 2016, 5:50:51 AM1/18/16
to DIGITS Users
Hello everyone,
Is there a tutorial on how to compile DIGITS on windows ? Is it straight forward?
I have compile caffe in windows successfully, Now I want to use DIGITS, but cant find any instructions on the how tos.
I beleive in one of the slides introducing DIGITS, there was a mention for the windows source code, I cant just find it.
Any help is greatly appreciated
Best regards

Luke Yeager

unread,
Jan 18, 2016, 12:45:52 PM1/18/16
to DIGITS Users
Windows is not a supported platform for DIGITS. We don't have any documentation for how to do it, nor have an of the engineers here at NVIDIA ever done it.

However, building Caffe is the hard part, as noted in the DIGITS docs. DIGITS itself is pure python code which depends on pretty standard Python packages.

Instructions for building DIGITS on Ubuntu - https://github.com/NVIDIA/DIGITS/blob/digits-3.0/docs/BuildDigits.md
Pull request (already merged) that helps with Windows compatibility - https://github.com/NVIDIA/DIGITS/pull/199

NOTE: You need to build NVcaffe in order to use DIGITS, not BVLC/caffe.

If you do get it working and would like to write a blog post about it, I could refer others to your guide. But for now we don't have any plans to make Windows a supported platform for DIGITS.

Hossein Hasanpour

unread,
Apr 2, 2016, 1:19:18 PM4/2/16
to DIGITS Users
Thanks, but Caffe is supported on windows by Microsoft now. check out the official branch here : https://github.com/Microsoft/caffe
now I guess porting Digits to windows is rather easy compared to the time, caffe was'nt on windows!

Hossein Hasanpour

unread,
Apr 5, 2016, 1:21:18 PM4/5/16
to DIGITS Users
Ok, thanks to lunzueta and happynear, I could get DIGITS to work on windows. meanwhile I messed somewhere and I am getting some weird errors.
Check the progress here : https://github.com/NVIDIA/DIGITS/issues/47#issuecomment-205427707
I could at first, create datasets but not being able to train. now I can  train but I cant create datasets.
I'm not a python developer, so thats why I'm kind of stuck.
anyway, using microsofts latest Caffe branch, what really is remained is to change the linuxish paths to their windows counter part. this is what I actually did and things got working.
now I would be thankful if anyone could help me find out what is causing the import errors :
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: Traceback (most recent call last):
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "T:\DIGITS-master\tools\parse_folder.py", line 8, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import requests
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\requests\__init__.py", line 58, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from . import utils
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\requests\utils.py", line 12, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import cgi
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\cgi.py", line 50, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import mimetools
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\mimetools.py", line 6, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import tempfile
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\tempfile.py", line 32, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import io as _io
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "T:\Caffe\Build\X64\RELEASE\pycaffe\caffe\io.py", line 1, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import numpy as np
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\numpy\__init__.py", line 200, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from . import add_newdocs
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from numpy.lib import add_newdoc
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from .type_check import *
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import numpy.core.numeric as _nx
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from . import multiarray
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: ImportError: cannot import name multiarray
2016-04-05 21:42:26 [20160405-214224-1012] [ERROR] Parse Folder (train/val) task failed with error code 1

Hossein Hasanpour

unread,
Apr 6, 2016, 5:56:53 AM4/6/16
to DIGITS Users
OK, Thanks to dear God, I did it . and it was very very easy! .
check this out : https://github.com/NVIDIA/DIGITS/issues/47#issuecomment-205427707 

On Tuesday, April 5, 2016 at 9:51:18 PM UTC+4:30, Hossein Hasanpour wrote:
Ok, thanks to lunzueta and happynear, I could get DIGITS to work on windows. meanwhile I messed somewhere and I am getting some weird errors.
Check the progress here : https://github.com/NVIDIA/DIGITS/issues/47#issuecomment-205427707
I could at first, create datasets but not being able to train. now I can  train but I cant create datasets.
I'm not a python developer, so thats why I'm kind of stuck.
anyway, using microsofts latest Caffe branch, what really is remained is to change the linuxish paths to their windows counter part. this is what I actually did and things got working.
now I would be thankful if anyone could help me find out what is causing the import errors :
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: Traceback (most recent call last):
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "T:\DIGITS-master\tools\parse_folder.py", line 8, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import requests
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\requests\__init__.py", line 58, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: from . import utils
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\site-packages\requests\utils.py", line 12, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import cgi
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\cgi.py", line 50, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import mimetools
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\mimetools.py", line 6, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import tempfile
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "L:\Anaconda2\lib\tempfile.py", line 32, in <module>
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: import io as _io
2016-04-05 21:42:26 [20160405-214224-1012] [WARNING] Parse Folder (train/val) unrecognized output: File "T:\Caffe\Build\X64\RELEASE\pycaffe\caffe\io.py"
...

Aye Chan

unread,
Dec 3, 2019, 12:13:56 AM12/3/19
to DIGITS Users
Hi Hossein Hasanpour,
    I also want to develop nvidia digits on window 10 if you have solution for this please let me know. Thank you
Reply all
Reply to author
Forward
0 new messages