andyzeng / arc-robot-vision

MIT-Princeton Vision Toolbox for Robotic Pick-and-Place at the Amazon Robotics Challenge 2017 - Robotic Grasping and One-shot Recognition of Novel Objects with Deep Learning.
http://arc.cs.princeton.edu
Apache License 2.0
293 stars 97 forks source link

Image-matching cudnn getHandle problem #4

Open colettedog opened 6 years ago

colettedog commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi Andy, Thanks. I am using an existing gt730 card. It was there with the pc. It is old and cheap. I will upgrade to a more capable one. Thank you for your reply. Ken lee


From: Andy Zeng notifications@github.com Sent: Tuesday, July 3, 2018 11:23:56 PM To: andyzeng/arc-robot-vision Cc: colettedog; Author Subject: Re: [andyzeng/arc-robot-vision] Image-matching cudnn getHandle problem (#4)

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fandyzeng%2Farc-robot-vision%2Fissues%2F4%23issuecomment-402376003&data=02%7C01%7C%7C0383b503ceb24f7ad4e608d5e176b957%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636662822380373423&sdata=5y7sJaG%2FmTkGOVnPQnjis67kau%2B3jp4UhREPTQ8XhKE%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAmf9jU-n0erg9UHcgxYja0UAIJuP2ih6ks5uDF98gaJpZM4U6VN3&data=02%7C01%7C%7C0383b503ceb24f7ad4e608d5e176b957%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636662822380373423&sdata=JxykOmyUNI%2BlNuxAKr9IxWz2O2DvtVkerBsyqobdmzk%3D&reserved=0.