1

我试图在我的 Windows 机器上使用来自 nVidia 的DIGITS ,而不是自己构建它。我认为使用 Docker 更容易(开始改变主意)。

我的理解是,Windows 上的 Docker 基本上是使用 Linux VM 来实际运行 Docker。所以,主机 Windows 上的 Docker 接口只是与安装在 Linux VM 上的 Docker 进行交互,然后它将托管一个来宾 Linux 容器来运行 DIGITS。

当我尝试运行 DIGITS 容器时,出现以下错误:

============
== DIGITS ==
============

NVIDIA Release 18.05 (build 425957)

Container image Copyright (c) 2018, NVIDIA CORPORATION.  All rights reserved.
DIGITS Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
Caffe Copyright (c) 2014, 2015, The Regents of the University of California (Regents). All rights reserved.
Torch Copyright (c) 2016, Soumith Chintala, Ronan Collobert, Koray Kavukcuoglu, Clement Farabet. All rights reserved.
TensorFlow Copyright (c) 2017, The TensorFlow Authors.  All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION.  All rights reserved.
NVIDIA modifications are covered by the license terms that apply to the underlying project or file.

WARNING: The NVIDIA Driver was not detected.  GPU functionality will not be available.
   Use 'nvidia-docker run' to start this container; see
   https://github.com/NVIDIA/nvidia-docker/wiki/nvidia-docker .

  ___ ___ ___ ___ _____ ___
 |   \_ _/ __|_ _|_   _/ __|
 | |) | | (_ || |  | | \__ \
 |___/___\___|___| |_| |___/ 6.1.1

Did you forget to "make pycaffe"?
A valid Caffe installation was not found on your system.
Use the envvar CAFFE_ROOT to indicate a valid installation.
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, 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 "/opt/digits/digits/__main__.py", line 70, in <module>
    main()
  File "/opt/digits/digits/__main__.py", line 53, in main
    import digits.config
  File "/opt/digits/digits/config/__init__.py", line 7, in <module>
    from . import (  # noqa
  File "/opt/digits/digits/config/caffe.py", line 230, in <module>
    executable, version, flavor = load_from_path()
  File "/opt/digits/digits/config/caffe.py", line 57, in load_from_path
    import_pycaffe()
  File "/opt/digits/digits/config/caffe.py", line 126, in import_pycaffe
    import caffe
  File "/usr/local/python/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, \
  File "/usr/local/python/caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: libnvidia-ml.so.1: cannot open shared object file: No such file or directory

DIGITS docker 映像需要在主机AFAIK 上安装 nVidia 驱动程序。我认为这里的错误意味着未安装驱动程序。但是,我不知道如何在 Linux 主机上安装 nVidia 驱动程序,因为那只是 Windows 上 Docker 接口使用的虚拟机。

有没有办法访问该 Linux VM 并在其上安装 nVidia 驱动程序?

4

0 回答 0