-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add CachedReplayBuffer and ReplayBufferManager #278
New issue
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
8229b47
add first version of cached replay buffer(baseline), add standard api…
ChenDRAG 483404f
add cached buffer, vec buffer
ChenDRAG 942c2a3
simple pep8 fix
ChenDRAG ec4b246
init
ChenDRAG e7f631e
Merge branch 'master(net/utils change #275)' into cached
ChenDRAG da564be
Merge branch 'master' into cached
Trinkle23897 36e799e
some change
ChenDRAG 50b20a0
update ReplayBuffer
Trinkle23897 3e487dc
Merge branch 'cached' of github.com:ChenDRAG/tianshou into cached
ChenDRAG 0ac97af
refactor ReplayBuffer
ChenDRAG bd90b97
refactor vec/cached buffer
ChenDRAG 2b7c227
pep8 fix
ChenDRAG 3afb2cb
update VectorReplayBuffer and add test
Trinkle23897 443969d
update cached
Trinkle23897 ee51e64
order change, small fix
ChenDRAG a5bc4ad
try unittest
Trinkle23897 17e3612
add more test and fix bugs
Trinkle23897 7eba23d
fix a bug and add some corner-case tests
Trinkle23897 b9f4f2a
re-implement sample_avail function and add test for CachedReplayBuffe…
Trinkle23897 8fe85f8
improve documents
Trinkle23897 f59a530
ReplayBuffers._offset
Trinkle23897 425c2bd
fix atari-style update; support CachedBuffer with main_buffer==PrioBu…
Trinkle23897 2361755
assert _meta.is_empty() in ReplayBuffers init
Trinkle23897 0160a7f
Merge branch 'master' into cached
Trinkle23897 75d581b
small fix
Trinkle23897 b5d93f3
small fix
Trinkle23897 c8f27c9
improve coverage
Trinkle23897 9c879f2
small buffer change
ChenDRAG 26bb74c
pep8 fix
ChenDRAG 74df1c5
fix ci
Trinkle23897 39463ba
recover speed to 2000+
Trinkle23897 31f0c94
improve documents
Trinkle23897 720da29
ReplayBuffers -> ReplayBufferManager; alloc_fn -> _buffer_allocator; …
Trinkle23897 b9385d8
re-organize test_buffer.py
Trinkle23897 16bb42e
improve test
Trinkle23897 cada7cc
test if can be faster
Trinkle23897 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.