What steps will reproduce the problem?
1. Simply add a cost.sum2 layer into the layer definition
2. Run it
3.
What is the expected output? What do you see instead?
It crashed and said:
python: src/nvmatrix.cu:738: bool NVMatrix::resize(int, int, bool): Assertion
`_ownsData || (_numElements == numRows * numCols && isContiguous())' failed.
Error signal 6:
What version of the product are you using? On what operating system?
Latest cuda-convnet2 + Titan + CUDA 5.5 + Ubuntu 12.04
Please provide any additional information below.
To reproduce the problem, download the attached layer definition (reg.cfg and
reg-params.cfg) and test it with command:
python convnet.py --data-path=. --save-path=./tmp --test-range=1
--train-range=1 --layer-def=layers/reg-ori.cfg
--layer-params=layers/reg-params.cfg --data-provider=dummy-labeled-1 --gpu=0
It seems that getAct() of the sum2 layer will produce a 0*128 matrix and thus
cause the error.
Original issue reported on code.google.com by Phil....@gmail.com on 8 Aug 2014 at 12:42
Original issue reported on code.google.com by
Phil....@gmail.com
on 8 Aug 2014 at 12:42Attachments: