Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image-matching cudnn getHandle problem #4

Open
colettedog opened this issue Jun 27, 2018 · 2 comments
Open

Image-matching cudnn getHandle problem #4

colettedog opened this issue Jun 27, 2018 · 2 comments

Comments

@colettedog
Copy link

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

@andyzeng
Copy link
Owner

andyzeng commented Jul 4, 2018

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.

@colettedog
Copy link
Author

colettedog commented Jul 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants