8000 Added sequence iterator by luisenp · Pull Request #91 · facebookresearch/mbrl-lib · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Added sequence iterator #91

< 8000 /div>
Merged
merged 21 commits into from
Jul 19, 2021
Merged

Added sequence iterator #91

merged 21 commits into from
Jul 19, 2021

Conversation

luisenp
Copy link
Contributor
@luisenp luisenp commented Jun 11, 2021

Types of changes

Added an iterator class that returns sequences of transitions.

This also deprecates method ReplayBuffer.get_iterators() and replaces it with a utility function in mbrl.util.common package.

  • Docs change / refactoring / dependency upgrade
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

This is a core component of #88 and #86.

How Has This Been Tested (if it applies)

I added unit tests for the iterator and the new utilities added, which check that the trajectories returned are consistent with the trajectories stored in the replay buffer.

Checklist

  • The documentation is up-to-date with the changes I made.
  • I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
  • All tests passed, and additional code has been covered with new tests.

@luisenp luisenp added the enhancement New feature or request label Jun 11, 2021
@luisenp luisenp added this to the v0.2.0 milestone Jun 11, 2021
@luisenp luisenp self-assigned this Jun 11, 2021
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 11, 2021
@luisenp luisenp mentioned this pull request Jun 11, 2021
Closed
11 tasks
@luisenp luisenp force-pushed the sequence_iterator branch from d615714 to 3c220e5 Compare June 11, 2021 19:45
@luisenp luisenp merged commit cdadf5d into master Jul 19, 2021
@luisenp luisenp deleted the sequence_iterator branch September 9, 2021 18:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0