GithubHelp home page GithubHelp logo

libcudamat.so? about unsupervised-videos HOT 5 CLOSED

YantianZha avatar YantianZha commented on June 22, 2024
libcudamat.so?

from unsupervised-videos.

Comments (5)

mansimov avatar mansimov commented on June 22, 2024

you need to go first inside cudamat folder and install it by running "make"

make sure to set correct path to relevant dependencies inside Makefile

from unsupervised-videos.

YantianZha avatar YantianZha commented on June 22, 2024

Thanks a lot!

from unsupervised-videos.

YantianZha avatar YantianZha commented on June 22, 2024

But after successfully complying CUDA, I still got an error:
snip20160314_7

I believe the error comes from the wrong configuration in Makefile. Since my graphics card, NVIDIA GTX 650, maybe different from yours. So here's my unsuccessful trial:
snip20160314_8

Therefore, I suspect the way of editing the makefile was incorrect?

Thanks!

from unsupervised-videos.

mansimov avatar mansimov commented on June 22, 2024

You can see that the error says that the cuda toolkit version you are using is incompatible with your gpu GTX 650.

Which version of cuda toolkit you are using ? I would maybe suggest downgrading to older toolkits that support your gpu and changing the path to it in Makefile

from unsupervised-videos.

YantianZha avatar YantianZha commented on June 22, 2024

Thanks! After a survey, I found I can't use CUDA 6.5 (with mac of EI Capitan). So I used CUDA 7.5. But it seems that I must use CUDA 6.5? Here is the error:

Traceback (most recent call last):
File "/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/lstm_combo.py", line 1, in
from data_handler import *
File "/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/data_handler.py", line 3, in
from util import *
File "/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/util.py", line 3, in
import cudamat as cm
File "/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/cudamat/init.py", line 1, in
from cudamat import *
File "/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/cudamat/cudamat.py", line 11, in
_cudamat = ct.cdll.LoadLibrary(os.getcwd() + '/cudamat/libcudamat.so')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 443, in LoadLibrary
return self._dlltype(name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)

OSError: dlopen(/Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/cudamat/libcudamat.so, 6): Library not loaded: @rpath/libcublas.7.5.dylib
Referenced from: /Users/yantian/Google Drive/Yantian/DL/unsupervised-videos-master/cudamat/libcudamat.so
Reason: image not found

I do have the libcudamat.so in the cudamat folder.
Thanks!

from unsupervised-videos.

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.