dpp icon indicating copy to clipboard operation
dpp copied to clipboard

wrong number of arguments for function call

Open 201528014227051 opened this issue 5 years ago • 1 comments

=> Creating model from file: models/resnetdpp.lua | ResNet-110 CIFAR-10 DPP Symmetric Lite on board! DPP Symmetric Lite on board! => Training epoch # 1 /home/user2/torch/install/bin/luajit: /home/user2/torch/install/share/lua/5.1/nn/THNN.lua:110: wrong number of arguments for function call stack traceback: [C]: in function 'v' /home/user2/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'ClassNLLCriterion_updateOutput' ...er2/torch/install/share/lua/5.1/nn/ClassNLLCriterion.lua:41: in function 'updateOutput' ...torch/install/share/lua/5.1/nn/CrossEntropyCriterion.lua:20: in function 'forward' ./train.lua:60: in function 'train' main.lua:59: in main chunk [C]: in function 'dofile' ...ser2/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00406670 Try to run the code by <th main.lua -data ./gen/ -netType resnetdpp -poolingType DPP_sym_lite -save ./res -stochasticity 'false' -manualSeed 4>, and then got the error above. I cannot figure out why. is this about the version of torch? Does anyone know that the torch version here? thanks.

201528014227051 avatar Mar 04 '19 10:03 201528014227051

This looks like a problem with nn (or cunn) libraries. I suggest trying to reinstall a "clean" version of these libraries as suggested here: link1 or here link2

farazsaeedan avatar Mar 04 '19 10:03 farazsaeedan