> > pipe=: (10;10;'softmax';1;'l2';0.0001) conew 'NNPipeline' > |assertion failure: create__w > | 4 =#shape I think this assertion error is in 'Conv2D' (conv2d.ijs). Not 'NNPipeline'. The shape (first constructor argument needs 4 numbers) e.g. c1=: ((10 3 4 4);2;'relu';'adam';0.01;0) conew 'Conv2D'
the shape is 10 3 4 4. If you copy pasted my example I can't see how you got an assertion error there. Did you clone the whole repo? Regards, Jon On Friday, April 19, 2019, 2:33:04 AM GMT+9, Brian Schott <[email protected]> wrote: Jon, I really appreciate your giving new examples. Before your reply I did not realize https://github.com/jonghough/jlearn/blob/master/adv/conv2d.ijs is part of the grander (duh!) https://github.com/jonghough/jlearn/ But now I am having trouble with your create verb and setting up so that it is executed in the right locale environment. When I thought I had that environment worked out, then I get assertion errors from the create such as the following: pipe=: (10;10;'softmax';1;'l2';0.0001) conew 'NNPipeline' |assertion failure: create__w | 4 =#shape I am pretty sure you are using different `create`s and are using them in unstated `cocurrent` environments. Would you mind providing the j environment at the start of this example? This most recent example with 5 3 8 8 shaped tensors is likely to be exactly what I am looking for if I can get it working. Thanks, much, On Thu, Apr 18, 2019 at 10:38 AM jonghough via Programming < [email protected]> wrote: > > Regarding the test network I sent in the previous email, it will not work. > This one should: > > [snip] -- (B=) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
