Rollout trajectories#6
Open
viviannna wants to merge 27 commits into
Open
Conversation
Added a copy of the demo zarr folders to env_runner for convenience.
Rolls out the action steps in simulation and creates an output video. TODO: Fix the starting environment so that block positions are consistent.
Temporary workaround (instead of changing all the function signatures) to dump the initial observation into a json and have env's reset use it to hard set and have the right matching starting block positions.
Updated the working directory in launch.json so custom_runner could be imported as a module.
Rolls out entire trajectory and saves the simulation video. Saves the simulation video of the source demonstrations. Plot the predicted_artificial trajectory and the actual_artificial trajectory points in global_plots. TODO: Update the actual obs/actions dictionary of the obs.
Fix issue where on demonstration 0, it calculates distance compared to the last global observation.
Loops through demos, creates artificial forward and reverse trajcectories, rolls them out, and evaluates their success. Stats tracked in global_plots/successful_demos.txt
Use the init obs of the second half of the spliced artificial path to place the blocks. (Works, but seems sort of trivial?)
Set whether you want the plots or rollout videos saved as a parameter for the DemoAggregate class that gets passed to other functions.
r+ was causing weird changes to the meta files
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.
No description provided.