shaoguangcheng / deepnet Goto Github PK
View Code? Open in Web Editor NEWI implement RBM, DBN, Multi-modal DBN with Python and the majority of matrix operations are executed on GPU. In this project I employ Cudamat and Numpy python libs.
I implement RBM, DBN, Multi-modal DBN with Python and the majority of matrix operations are executed on GPU. In this project I employ Cudamat and Numpy python libs.
when i run the following command in terminal
python multimodalityDemo.py
there is something wrong?
can some one help me to fix it?
no CUDA-capable device is detected
Traceback (most recent call last):
File "multiModalityDemo.py", line 169, in
testMultiModalityDBN(opts)
File "multiModalityDemo.py", line 70, in testMultiModalityDBN
trainLabel, nHid, nJoint, isSaveModel=True, modelName = opts.model, **p)
File "/home/amax/Public/ShijieGeng/weisun/youtubeAd/multiDBM/DeepNet/DeepNet/multiModalityDBNFit.py", line 33, in multiModalityDBNFit
isSingleDBN = False, **kwargs[string])
File "/home/amax/Public/ShijieGeng/weisun/youtubeAd/multiDBM/DeepNet/DeepNet/DBNFit.py", line 23, in DBNFit
model_ = rbm.rbm(X, numHid[0], **kwargs[string])
File "/home/amax/Public/ShijieGeng/weisun/youtubeAd/multiDBM/DeepNet/DeepNet/rbm.py", line 88, in rbm
cm.cublas_init()
File "/home/amax/Public/ShijieGeng/weisun/youtubeAd/multiDBM/DeepNet/DeepNet/cudamat/cudamat.py", line 1720, in cublas_init
CUDAMatrix.ones = CUDAMatrix(np.ones((MAX_ONES, 1), dtype=np.float32, order = 'F'))
File "/home/amax/Public/ShijieGeng/weisun/youtubeAd/multiDBM/DeepNet/DeepNet/cudamat/cudamat.py", line 195, in init
raise generate_exception(err_code)
cudamat.cudamat.CUDAMatException: CUBLAS error.
Hello, I am getting this error while running the makefile in cudamat folder
Please help
Microsoft (R) Program Maintenance Utility Version 14.00.24245.0
Copyright (C) Microsoft Corporation. All rights reserved.
nvcc -O --compiler-bindir=/usr/bin/gcc-4.6 --ptxas-options=-v --compiler-options '-fPIC' -o libcudamat.so --shared cudamat.cu cudamat_kernels.cu -lcublas
nvcc fatal : '--compiler-bindir=/usr/bin/gcc-4.6': expected a number
NMAKE : fatal error U1077: '"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin\nvcc.EXE"' : return code '0x1'
Stop.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.