Closed balzer82 closed 8 years ago
Solved: Had to index a col.
trainData.data[1]
is in shape of
(1,.,.) =
Columns 1 to 15
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
so this works:
for i = 1,trainData:size() do
trainData.data[i] = image.rgb2yuv(trainData.data[i][1])
end
Is it my fault or is the tutorial out of date or is the dataset different?
My fault: I downloaded this dataset mentioned here (in the end), which is in different format, so the tutorial in the .lua file won't work
I am tryin to to through the tutorial. What did I wrong?