Closed zsrkmyn closed 7 years ago
the targets
given to your loss function contain bad values. targets
contain values that are not between 1
and nClasses
. We added assertions for this case recently. Your older code does not error out but it will be buggy.
Hi,
I built the
cunn
with the latest codes from GitHub and run the codes here with the commandluajit train.lua -gpuid 0
, then the following error occured:When I (randomly) checked out the
cunn
codes to commit 27479c372040b8cab4e53e9338e8ce840bdb67dd and rebuilt the package, the error disappeared.I am really sorry I cannot isolate the problem since I am just a newbie to both lua and torch, and I am now just runnig codes from others to get some results.
I am pleasure to provide more details if needed.
Thanks for building a such great software!