Code Monkey home page Code Monkey logo

mppi_torch's Issues

Did the halton-spline mode work

Dear author,

Hello! I have a question for the part of "halton-spline", the code in mppi.py is shown as below.

elif self.mppi_mode == 'halton-spline':
    # shift command 1 time step
    saved_action = self.mean_action[-1]
    self.mean_action = torch.roll(self.mean_action, -1, dims=0)
    self.mean_action[-1] = saved_action
    cost_total = self._compute_total_cost_batch_halton()
      
    action = torch.clone(self.mean_action)

In this part, the final 'action' is given by the mean of 'saved_action', and it only has a 'shift' operation and no other operations.

Is the method work, could you please explain this part. Thanks for your help.

Best wishes

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.