Git Product home page Git Product logo

mxnet_image_caption's People

Contributors

saicoco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mxnet_image_caption's Issues

Split0 Operator Error

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.