Giter Site home page Giter Site logo

dockerfiles's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dockerfiles's Issues

Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected

I have successfully installed this docker image on my computer which has a Titan X GPU. Also I have installed CUDA toolkit.

➜  ~ ls -la /dev | grep nvidia
crw-rw-rw-   1 root root      195,   0  7月 15 22:06 nvidia0
crw-rw-rw-   1 root root      195, 255  7月 15 22:06 nvidiactl
crw-rw-rw-   1 root root      246,   0  7月 20 11:14 nvidia-uvm

I run this image by the command given.

sudo docker run --name caffe -v /media/ksnzh/DATA/caffe-lstm:/workspace -p 8888:8888 -d --device /dev/nvidia0:/dev/nvidia0 --device /dev/nvidiactl:/dev/nvidiactl --device /dev/nvidia-uvm:/dev/nvidia-uvm drunkar/cuda-caffe-lstm-anaconda /bin/bash

sudo docker exec -it caffe bash

But when I try the coco_caption example, it had some errors.

I0720 12:28:20.358991    47 caffe.cpp:113] Use GPU with device ID 0
F0720 12:28:20.365886    47 common.cpp:131] Check failed: error == cudaSuccess (38 vs. 0)  no CUDA-capable device is detected
*** Check failure stack trace: ***
    @     0x7f752f8819fd  google::LogMessage::Fail()
    @     0x7f752f88389d  google::LogMessage::SendToLog()
    @     0x7f752f8815ec  google::LogMessage::Flush()
    @     0x7f752f8841be  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f752fd01596  caffe::Caffe::SetDevice()
    @           0x4066b2  train()
    @           0x404bd1  main
    @     0x7f752efb8ec5  (unknown)
    @           0x40524c  (unknown)

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.