Git Product home page Git Product logo

Comments (2)

PietroVitiello avatar PietroVitiello commented on June 9, 2024

Hi happyflying-web,
Thank you very much for showing your interest.

Yes I do realise that the code is not well documented and it is mostly because I intended for this repo to simply introduce the concept of the Motion Image and to show that it could be used in a network as an additional predicted output by an image decoder. The actual model architectures and pipelines are very standard so I actually believe it is easier for you to reinplement them than actually integrate my codebase into yours.

This being said, I'll try to guide you through the main code that you should be interested in, and I promise it will be very easy for you to go on from there:

  • In src/Learning/Models/MotionIMG/ you find the MI-Net architecture and all its variants. In that folder models.py has the complete MI-Net model class which imports submodules from both backbones.py and modules.py. What I suggest you to do is to simply copy these architectures.
  • Specifically in src/Learning/Models/MotionIMG/backbones.py the "BaselineCNN_backbone()" class and the "Motion_decoder()" class form the encoder-decoder structure of the MI-Net. If you are interested in the concept of the motion image and you wanted to start experimenting with it quickly these two classes are what you want to embed in your network.
  • What the MI-Net returns is a tuple containing a vector (in my case actions but you can make it whatever you want) and the predicted motion image which can be trained with various losses, but I used pixelwise MSE.

I am truly sorry if I do not spend additional time formatting the code but I do not believe it would be worth it. What I really care to share is the concept of the motion image and its use as a model prediction through an image encoder-decoder structure. Whereas I believe the actual implementation of this idea is very project-specific and might be easier to simply implement from scratch.

from actionrepresentation.

happyflying-web avatar happyflying-web commented on June 9, 2024

Thank you!

from actionrepresentation.

Related Issues (2)

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.