Repository navigation
docs(NAV_TRAINING): call the Jolt rollout's trainer from Python - #980
Merged
Merged
Conversation
"Training on Jolt"'s pycvc entry named nav_train_coef_mlp_jolt with its arguments elided, so the section had no way to call it from Python. It now gives the calibration dict's keys, the argument order, and a runnable example (a 96 m grid of four blocks, the Humvee at 0.106 units per metre with its wheelbase and limits in normalized units), what the per-agent scene copies cost, and GRL-SNAM's wrappers. The example was run (3 steps, n 32) against a pycvc built from master.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The "Training on Jolt" section's Python entry (
docs/NAV_TRAINING.md, "From Python") namedpycvc.nav_train_coef_mlp_joltwith its arguments elided:The binding is positional and has 27 arguments, so there was no way to call it from the doc. The section now gives:
occupancy_scenetakes it, thentrain_config's fields, then the vehicle and the calibration);Nothing else in the section was wrong; this fills the one gap.
Verified
The example ran against a pycvc built from master (Windows, MSVC 14.44 Release, Jolt), with a short run (3 steps, n 32). It took 4.5 s, wrote a 19 KB
.cvcnav, and returned exactly the keys the doc lists.Context: GRL-SNAM's plant work (
grl-snam capture --plant,coef-train --rollout jolt) and #979, which bindsdyn_bike_plant.