andyzeng/arc-robot-vision

Image-matching cudnn getHandle problem

Opened this issue · 2 comments

I am new to Torch and trying to follow your sample to learn about image matching.
I installed cuDNN and torch. The default torch installation installs luajit. I am trying to run the
arc-robot-vision/image-matching/test.lua
the code works until it try to call DataLoader (.....
it stops with the following error message, any help is appreciated.

lua: /home/zeta/.luarocks/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
/home/zeta/torch/install/share/lua/5.1/cudnn/init.lua:148: Error in CuDNN: CUDNN_STATUS_ARCH_MISMATCH
stack traceback:
[C]: in function 'error'
/home/zeta/torch/install/share/lua/5.1/cudnn/init.lua:148: in function 'getHandle'
/home/zeta/torch/install/share/lua/5.1/cudnn/init.lua:156: in function 'call'
/home/zeta/torch/install/share/lua/5.1/cudnn/init.lua:162: in function 'errcheck'
/home/zeta/torch/install/share/lua/5.1/cudnn/init.lua:177: in function 'toDescriptor'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:37: in function 'resetWeightDescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:96: in function 'checkInputChanged'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:120: in function 'createIODescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:188: in function <...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:186>
[C]: in function 'xpcall'
/home/zeta/.luarocks/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/zeta/.luarocks/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./DataLoader.lua:101: in function '__init'
/home/zeta/.luarocks/share/lua/5.1/torch/init.lua:91: in function </home/zeta/.luarocks/share/lua/5.1/torch/init.lua:87>
[C]: in function 'DataLoader'
test1.lua:32: in main chunk
[C]: at 0x00405d50

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/zeta/.luarocks/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/zeta/.luarocks/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./DataLoader.lua:101: in function '__init'
/home/zeta/.luarocks/share/lua/5.1/torch/init.lua:91: in function </home/zeta/.luarocks/share/lua/5.1/torch/init.lua:87>
[C]: in function 'DataLoader'
test1.lua:32: in main chunk

Hello, cuDNN requires a GPU with CUDA compute capability 3.x or higher.
The error message CUDNN_STATUS_ARCH_MISMATCH suggests your GPU does not support it.