mafhha opened a new issue #7774: 3d convolution gives zero output URL: https://github.com/apache/incubator-mxnet/issues/7774 When using mxnet 3d Convolution layer, the output is all zeros. ``` import mxnet as mx data = mx.nd.arange(24).reshape((2,1,2,2,3)) x = mx.sym.Variable('data', shape=(2,1,2,2,3)) conv3D = mx.sym.Convolution(data=x, kernel=(2, 2, 3), pad=(1, 1, 1), num_filter=2) conv3D_ex = conv3D.simple_bind(mx.gpu(), arg_dicts={'data':data}) args = conv3D_ex.arg_dict init = mx.init.Uniform(scale=0.01) for name, arr in args.items(): if name not in ['data']: init(name, arr) args['data']=data print args print conv3D_ex.forward() {'data': [[[[[ 0. 1. 2.] [ 3. 4. 5.]] [[ 6. 7. 8.] [ 9. 10. 11.]]]] [[[[ 12. 13. 14.] [ 15. 16. 17.]] [[ 18. 19. 20.] [ 21. 22. 23.]]]]] <NDArray 2x1x2x2x3 @cpu(0)>, 'convolution0_weight': [[[[[ 0.00480439 0.00841988 -0.00921959] [ 0.00937926 0.00850281 -0.001073 ]] [[ 0.00334638 -0.00780139 -0.00059563] [ 0.00026387 0.0055235 -0.00410469]]]] [[[[ 0.00428019 -0.00282996 0.00362837] [-0.0041597 -0.00361182 0.00621827]] [[-0.00691776 -0.00109668 -0.00584008] [ 0.00221961 -0.00385449 -0.00168849]]]]] <NDArray 2x1x2x2x3 @gpu(0)>, 'convolution0_bias': [ 0. 0.] <NDArray 2 @gpu(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. 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. 0.]] [[ 0. 0. 0.] [ 0. 0. 0.] [ 0. 0. 0.]] [[ 0. 0. 0.] [ 0. 0. 0.] [ 0. 0. 0.]]]]] <NDArray 2x2x3x3x3 @gpu(0)>] ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services