GithubHelp home page GithubHelp logo

Use ConvLSTM on multiple GPUs about convlstm HOT 3 OPEN

viorik avatar viorik commented on August 16, 2024
Use ConvLSTM on multiple GPUs

from convlstm.

Comments (3)

viorik avatar viorik commented on August 16, 2024

Hi @LeonardKnuth,
Could you post a simple model that you are trying to train? I haven't used it on multi-gpu yet, but I would be interested to see what's happening.
cheers.

from convlstm.

LeonardKnuth avatar LeonardKnuth commented on August 16, 2024

Hi @viorik ,

My model is binding with the data, so currently it's not easy to clean it up. However, the main idea is straightforward if we use the nn.DataParallelTable (see more at https://github.com/torch/cunn/blob/master/doc/cunnmodules.md#nn.cunnmodules.dok).

I've always thought how to use LSTM or ConvLSTM in parallel, and found it seems impossible when the recurrent modules never call forget (e.g., remember('both')) because they have to run in an ordered way (i.e., the current state must depend on the previous state). Do you think so? Thanks.

from convlstm.

viorik avatar viorik commented on August 16, 2024

Hi @LeonardKnuth
Apologies for the late reply. Any news?
I think I agree with what you said, and I can't think of a way to make this run. Actually, a colleague set up the training on multi-gpus, the code was running, but the network didn't seem to learn anything. And I suspect it's because of what you said.

from convlstm.

Related Issues (19)

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.