Giter Club home page Giter Club logo

tensorflow-keras-multidimensional-rnn's Issues

ctc function

hello I'm trying to use MDLSTM with the ctc+crnn function but without success it causes an error by the loss ctc.

def ctc_func(args):
    y_pred, labels, input_length, label_length = args
    y_pred = y_pred[:, 2:, :]
    return K.ctc_batch_cost(labels, y_pred, input_length, label_length)

the error is:
ValueError: Index out of range using input dim 2; input has only 2 dims for 'ctc/strided_slice' (op: 'StridedSlice') with input shapes: [?,37], [3], [3], [3] and with computed input tensors: input[3] = <1 1 1>.

I use this example on the notebook to start for this layer

Have you any suggestion?

TypeError: 'tuple' object is not callable

Thank you for the work done for this project. I noticed a problem with inserting input_shape in a functional model with keras. Do you have any solution?

    gru_1 = MultiDimensionalRNN(MultiDimensinalGRUCell(4, activation='tanh'),input_shape(5,5,1))(inner)
TypeError: 'tuple' object is not callable

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.