GithubHelp home page GithubHelp logo

T-GRU about trunet HOT 6 OPEN

yangangcao avatar yangangcao commented on July 23, 2024
T-GRU

from trunet.

Comments (6)

AmosCch avatar AmosCch commented on July 23, 2024

是的,按说这里应该再transpose一下,并且GRU的定义里应该要加上batch_first=True

from trunet.

YangangCao avatar YangangCao commented on July 23, 2024

T-GRU和F-GRU的输入shape好像是一样的,所以这里怎么提现这个T-GRU?

不一样,你打印一下看看

from trunet.

YangangCao avatar YangangCao commented on July 23, 2024

是的,按说这里应该再transpose一下,并且GRU的定义里应该要加上batch_first=True

不明白为什么要transpose,烦请赐教,确实要加batch_first=True,感谢提醒

from trunet.

AmosCch avatar AmosCch commented on July 23, 2024

是的,按说这里应该再transpose一下,并且GRU的定义里应该要加上batch_first=True

不明白为什么要transpose,烦请赐教,确实要加batch_first=True,感谢提醒
应该不需要transpose,我理解错了,我以为(1,4,257)中的4是时间帧,感谢提醒。

from trunet.

atabakp avatar atabakp commented on July 23, 2024

The shape of TGRU's input(x9) is (Time, 16, 64). Since it should aggregate the information along the time-axis and batch_first=True in your implementation, therefore the input of TGRU should have "Time" should be the second dimension.
Or set the batch_first=False for the TGRU.

from trunet.

amirpashamobinitehrani avatar amirpashamobinitehrani commented on July 23, 2024

@atabakp thanks for the useful info! Do you have any insights regarding the data input shape? seems to be a bit confusing. Referring to this thread here: #5 (comment)

from trunet.

Related Issues (6)

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.