Giter Club home page Giter Club logo

Comments (5)

Yangget avatar Yangget commented on May 23, 2024 8

nvidia-docker run -dit -p 8888:8888 -p 6006:6006 tensorflow/newbuild:2.0 /bin/bash
like me .you should use nvidia-docker to run

from personae.

wangzhangup avatar wangzhangup commented on May 23, 2024 4

@JS00000 You should use Nvidia-docker2.

from personae.

Ceruleanacg avatar Ceruleanacg commented on May 23, 2024 2
  • macOS
    1. If the GPU of your mac is provided by NVIDIA, then you can use CUDA, and the version should be CUDA8, cuDNN6. Then you could run this project by the docker image mentioned in README.
    2. If the GPU of your mac is not provided by NVDIA, then you cannot use CUDA and tensorflow-gpu and the Docker image of this project, I did not mention it in README, sorry for that, for this case, you could only use tensorflow-cpu and conda to build the environment and run this project.

It's recommended to use docker on Ubuntu with NVIDIA GPU.

from personae.

Ceruleanacg avatar Ceruleanacg commented on May 23, 2024

It seems like your CUDA version or cuDNN version is not correct, can you tell me what version are they?

from personae.

JS00000 avatar JS00000 commented on May 23, 2024

I did nothing with CUDA or cuDNN in Docker. Just build the docker image using this project's Dockerfile.

Outside the Docker, I installed CUDA8.0 && CUDA9.1 in macOS, and CUDA9.1 is linked.

$ ls /Developer/NVIDIA
CUDA-8.0 CUDA-9.1
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Tue_Dec_19_21:36:29_CST_2017
Cuda compilation tools, release 9.1, V9.1.128

And my cuDNN's version seems like is 5, but it is not work with CUDA9.1 now.

$ ls /usr/local/cuda/lib | grep cudnn
libcudnn.5.dylib
libcudnn.dylib
libcudnn_static.a
$ cat /usr/local/cuda/include/cudnn.h
cat: /usr/local/cuda/include/cudnn.h: No such file or directory

Should I install the right version of CUDA and cuDNN outside the Docker? Or install the CUDA8.0 and cuDNN6 in Docker manually? Thank you very much for explaining my confusion.

from personae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.