We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPPIPlanner._compute_rollout_costs(perturbed_actions)
Hi all,
Thanks for the nice work! I have a question regarding the _compute_rollout_costs() method in the MPPIPlanner class:
_compute_rollout_costs()
MPPIPlanner
# action perturbation cost if self.terminal_state_cost: c = self.terminal_state_cost(states, actions) cost_samples += c cost_total += cost_samples.mean(dim=0) if self.mppi_mode == 'halton-spline': self.noise = self._update_distribution(cost_horizon, actions) return cost_total, states, actions
When updating cost_total of K samples, why is the mean over all samples used?
cost_total
K
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all,
Thanks for the nice work! I have a question regarding the
_compute_rollout_costs()
method in theMPPIPlanner
class:When updating
cost_total
ofK
samples, why is the mean over all samples used?The text was updated successfully, but these errors were encountered: