NVIDIA / DIGITS

Deep Learning GPU Training System
https://developer.nvidia.com/digits
BSD 3-Clause "New" or "Revised" License
4.12k stars 1.38k forks source link

Digits - WIndows #1484

Open satishknl opened 7 years ago

satishknl commented 7 years ago

Am facing with the syntax error:

C:\DIGITS>python digits-devserver File "digits-devserver", line 6 python2 -m digits $@ ^ SyntaxError: invalid syntax

lukeyeager commented 7 years ago

Right, that's a bash script - not a python script: https://github.com/NVIDIA/DIGITS/blob/v5.0.0/digits-devserver#L1

Look at the contents of the script. You want something like this instead:

python -m digits

Why did you try that command? Do we need to update our docs somewhere?

satishknl commented 7 years ago

i got this..........

C:\DIGITS>python -m digits
  ___ ___ ___ ___ _____ ___
 |   \_ _/ __|_ _|_   _/ __|
 | |) | | (_ || |  | | \__ \
 |___/___\___|___| |_| |___/ 5.1-dev

Traceback (most recent call last):
  File "C:\Anaconda\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Anaconda\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\DIGITS\digits\__main__.py", line 70, in <module>
    main()
  File "C:\DIGITS\digits\__main__.py", line 53, in main
    import digits.config
  File "digits\config\__init__.py", line 7, in <module>
    from . import (  # noqa
  File "digits\config\caffe.py", line 13, in <module>
    from digits.utils import parse_version
  File "digits\utils\__init__.py", line 167, in <module>
    from . import constants, image, time_filters, errors, forms, routing, auth
# noqa
  File "digits\utils\image.py", line 15, in <module>
    import PIL.Image
ImportError: No module named PIL.Image
satishknl commented 7 years ago

is digits installed lukeyeager ?

lukeyeager commented 7 years ago

Please follow the windows instructions that @IsaacYangSLA contributed: https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/BuildDigitsWindows.md

AleiLmy commented 7 years ago

I got this: xuelei@xuelei-Z97-HD3:~/digits$ ./digits-devserver


| _ _/ | | / | | |) | | ( || | | | _ \ |/___|_| || |/ 5.1-dev

Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/xuelei/digits/digits/main.py", line 70, in main() File "/home/xuelei/digits/digits/main.py", line 53, in main import digits.config File "digits/config/init.py", line 7, in from . import ( # noqa File "digits/config/caffe.py", line 13, in from digits.utils import parse_version File "digits/utils/init.py", line 167, in from . import constants, image, time_filters, errors, forms, routing, auth # noqa File "digits/utils/forms.py", line 8, in from wtforms.compat import string_types ImportError: No module named compat

vanmunch commented 7 years ago

@lukeyeager Is there anything more recent information on installing Digits for Windows than the link from Aug 2016? When you're presented with the option to install it on Windows it appears that it's a simple down load and install....

pvedula7 commented 7 years ago

I have also received the, "No module named PIL.Image command" However, isn't PIL outdated and if using Pillow,, shouldn't it be "from PIL import Image" If still using PIL won't the import statement be just "import Image".

pvedula7 commented 7 years ago

@satishknl I have found the fix for the no module Pil.Image. You need to use the old version of Pillow (3.1.1 or 3.1.2), not the new one.