Cortexsys
Cortexsys copied to clipboard
Problem with convolutional layers when using 1-dimensional data
Hello, I have been trying to create a convolutional autoencoder for use with 1D data. I can define the network, and I can run data through the untrained network, but attempting to train the network produces the following error:
Output argument "gp" (and maybe others) not assigned during call to "LinU/ograd".
Error in nnCostFunctionCNN (line 53) d{k} = (nn.A{nn.N_l}.v - Y.v).*nn.l.af{nn.N_l}.ograd(nn.A{nn.N_l}.v);
Error in @(nn,r,newRandGen)nnCostFunctionCNN(nn,r,newRandGen)
Error in gradientDescentAdaDelta (line 69) [J, dJdW, dJdB] = feval(f, nn, r, true);
Any suggestions for a workaround would be appreciated.