Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split0 Operator Error #1

Open
prathik-naidu opened this issue Aug 10, 2018 · 0 comments
Open

Split0 Operator Error #1

prathik-naidu opened this issue Aug 10, 2018 · 0 comments

Comments

@prathik-naidu
Copy link

Hi,

I'm working on a few extensions and basing my work on this mxnet image captioning implementation that you built. However, on some of my own custom data, I'm getting the following error:

mxnet.base.MXNetError: Error in operator split0: [16:42:17] src/operator/./slice_channel-inl.h:208: Check failed: dshape[real_axis] % param_.num_outputs == 0U (262 vs. 0) You are trying to split the 1-th axis of input tensor with shape [50,262,256] into num_outputs=494 evenly sized chunks, but this is not possible because 494 does not evenly divide 262

I'm using a batch size of 50, embedding dim of 256 and the word data is of size 262 it seems like from the input tensor shape.

Do you know where num_outputs=494 is set and why this error might be happening? I'm running your code right away without any modifications other than using my own data. It seems like the error is happening while doing the forward pass on the validation set.

Not sure if this is a bug.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant