convnetjs icon indicating copy to clipboard operation
convnetjs copied to clipboard

Allow specific input shape

Open doomedramen opened this issue 7 years ago • 3 comments
trafficstars

Currently it assumes the input layer is 1x1xINPUT_LENGTH. This does not support 2D or 3D inputs, my changes allow the user to specify the shape.

doomedramen avatar Mar 05 '18 14:03 doomedramen

This could also be achieved by getting the X,Y,Z sizes from the input data:

layer_defs.push({type: 'input', out_sx: this.data[0].sx:, out_sy: this.data[0].sy, out_depth:this.data[0].depth});

this is currently hard coded to:

layer_defs.push({type: 'input', out_sx: 1, out_sy: 1, out_depth: input_depth});

doomedramen avatar Mar 05 '18 15:03 doomedramen

It works the same either way bruh.

TrevorBlythe avatar Apr 20 '22 17:04 TrevorBlythe

您好,我是薛文毅,已收到您的邮件,一会查收,谢谢!!  

371148606 avatar Apr 20 '22 17:04 371148606