xiaozhenBoy / cudamat

Automatically exported from code.google.com/p/cudamat
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

nn_cudamat.py and rbm_cudamat.py run fine, but finish with exceptions #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The steps are the same for rbm, so showing nn_cudamat.py 
I successfully run test_cudamat.py without any exeption

What steps will reproduce the problem?
1. python nn_cudamat.py 

Result

Training misclassification rate: 0.029636548913
Time: 9.26896905899
Epoch 30
Training misclassification rate: 0.0293817934783
Time: 9.58258795738
Testing misclassification rate: 0.0316423907584
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05cd0>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05a10>> 
ignored

What is the expected output? What do you see instead?

Expect output
:
:
Training misclassification rate: 0.029636548913
Time: 9.26896905899
Epoch 30
Training misclassification rate: 0.0293817934783
Time: 9.58258795738
Testing misclassification rate: 0.0316423907584

and it should have no exeption

I also got the correct output but i also have additional lines

Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05cd0>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05a10>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05790>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05890>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05910>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05f10>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05710>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05c10>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05590>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05dd0>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05690>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05810>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05990>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05a90>> 
ignored
Exception cudamat.CUDAMatException: CUDAMatException('CUBLAS error.',) in 
<bound method CUDAMatrix.__del__ of <cudamat.CUDAMatrix object at 0x2b05d10>> 
ignored

What version of the product are you using? On what operating system?
How can I know cudamat version? in Readme, it is Version 0.3 on the top

- Python 2.7.3 (default, Aug  1 2012, 05:14:39) 
[GCC 4.6.3] on linux

Linux pheonom2 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux
Linux Mint 13 Maya based on Ubuntu Precise Pangolin

Please provide any additional information below.

Original issue reported on code.google.com by peerajak on 1 Mar 2013 at 12:14

Attachments:

GoogleCodeExporter commented 9 years ago
I am also having this problem with my setup:

Python 2.6.6 
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Cuda Toolkit 5.0

Did you ever figure out what was happening?  What version of CUDA are you using 
btw?

Original comment by rypric...@gmail.com on 12 Sep 2013 at 5:47