reedscot / cvpr2016

Learning Deep Representations of Fine-grained Visual Descriptions
http://arxiv.org/abs/1605.05395
MIT License
335 stars 97 forks source link

THCudaCheck FAIL #11

Open vamsikrishnakhatri opened 5 years ago

vamsikrishnakhatri commented 5 years ago

I am trying to extract the text representations of CUB birds dataset using the pretrained model that you have provided, but I am getting the following error

THCudaCheck FAIL file=/usr/local/torch/extra/cunn/lib/THCUNN/generic/Threshold.cu line=34 error=8 : invalid device function /usr/local/torch/install/bin/luajit: /usr/local/torch/install/share/lua/5.1/nn/Container.lua:67: In 2 module of nn.Sequential: /usr/local/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (8) : invalid device function at /usr/local/torch/extra/cunn/lib/THCUNN/generic/Threshold.cu:34 stack traceback: [C]: in function 'v' /usr/local/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'Threshold_updateOutput' /usr/local/torch/install/share/lua/5.1/nn/Threshold.lua:20: in function </usr/local/torch/install/share/lua/5.1/nn/Threshold.lua:18> [C]: in function 'xpcall' /usr/local/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors' /usr/local/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'func' /usr/local/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval' /usr/local/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward' test.lua:130: in function 'extract_txt' test.lua:136: in main chunk [C]: in function 'dofile' ...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00406670

Robotzeroo commented 3 years ago

I ran into the same problem as you. Did you solve this problem?