torch / tutorials

A series of machine learning tutorials for Torch7
622 stars 312 forks source link

cuda ClassNLLCriterion.lua error #31

Open subhamvs opened 9 years ago

subhamvs commented 9 years ago

I got the following error with cuda option(CUDNN v3 was used), 44: bad argument #3 to 'ClassNLLCriterion_updateOutput' (torch.CudaTensor expected, got number) I am not able to get what was the error Thanks in advance

szagoruyko commented 9 years ago

you need to update nn and cunn

subhamvs commented 9 years ago

I am using latest nn and cunn packages only.But I am getting same error.