GithubHelp home page GithubHelp logo

aserdega / convlstmgru Goto Github PK

View Code? Open in Web Editor NEW
68.0 2.0 20.0 89 KB

Pytorch implementations of ConvLSTM and ConvGRU modules with examples

License: MIT License

Python 100.00%
convlstm convgru pytorch video-prediction moving-mnist bouncing-mnist seq-to-seq encoder-decoder

convlstmgru's People

Contributors

aserdega avatar bstee615 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

convlstmgru's Issues

Question regarding Batchnorm

Thank you for offering great code:)

I have 2 questions regarding batchnormalization in your code.
As shown in convlstm.py's batchnorm part like below

def reset_parameters(self):
#self.conv.reset_parameters()
nn.init.xavier_uniform_(self.conv.weight, gain=nn.init.calculate_gain('tanh'))
self.conv.bias.data.zero_()

  if self.batchnorm:
      self.bn1.reset_parameters()
      self.bn2.reset_parameters()

Q1) Does it mean that batchnorm is operating between (vertically) convlstm layer?
or between (horizontally) convlstm cell?

Q2) Is it really work as batchnormalization? As I know of, xavier uniform is not exactly same as batchnormalization.

My question might be wrong, thus waiting for your merciful answer:)

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.