Giter VIP home page Giter VIP logo

Comments (6)

sbillburg avatar sbillburg commented on June 6, 2024 1

Can you please let me know about this?
here rnn2_merged = concatenate([rnn_2, rnn_2b])
the dimension of rnn_2 = (?, ?, 128)
and rnn_2b= (?, ?, 128)
is there anyway we can give the actual size to rnn_2 and rnn_rb rather than ?
Or because the lenght is varient it is not possible?

Thanks again.

You cannot set the specific dimension of rnn_2, two "? " depend on input dataset at the very beginning, First'?' presents the batch size, and the second is 1/8 of input image width.

from crnn-with-stn.

sbillburg avatar sbillburg commented on June 6, 2024

Keras is tensorflow-based, so you can use functions from tensorflow to concatenate two tensors together.

from crnn-with-stn.

un-lock-me avatar un-lock-me commented on June 6, 2024

Could you please share a link with me in which doing this?
I just want to make sure my revised code will be exactly the same as code here.

Thanks in advance:)

from crnn-with-stn.

sbillburg avatar sbillburg commented on June 6, 2024

Could you please share a link with me in which doing this?
I just want to make sure my revised code will be exactly the same as code here.

Thanks in advance:)

https://apimirror.com/tensorflow~python/tf/concat

Or you can look for concatenate function in Keras source code, as a reference.

from crnn-with-stn.

un-lock-me avatar un-lock-me commented on June 6, 2024

It did not help actually, Im trying to convert your code to CoreMl, but CoreMl does not support concatenate!
this guy changed his code vsyw/Keras-OpenFace#1 to change the channel to be able to do so.
Can you please have a look to see if it is doable on your code?

from crnn-with-stn.

un-lock-me avatar un-lock-me commented on June 6, 2024

Can you please let me know about this?
here rnn2_merged = concatenate([rnn_2, rnn_2b])
the dimension of rnn_2 = (?, ?, 128)
and rnn_2b= (?, ?, 128)
is there anyway we can give the actual size to rnn_2 and rnn_rb rather than ?
Or because the lenght is varient it is not possible?

Thanks again.

from crnn-with-stn.

Related Issues (20)

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.