Comments (2)
Hi, thanks for raising this point.
PPO (and REINFORCE) is compatible with the replay buffer here
https://github.com/facebookresearch/Pearl/blob/main/pearl/replay_buffers/sequential_decision_making/on_policy_episodic_replay_buffer.py.
FIFOOnPolicyReplayBuffer is used in SARSA currently.
They have two differences:
- Data in FIFOOnPolicyReplayBuffer can be used before reaching the end of each episode. But this is not the case with OnPolicyEpisodicReplayBuffer.
- FIFOOnPolicyReplayBuffer involves two actions in each transition tuple (s, a, r, s', a') while OnPolicyEpisodicReplayBuffer involves one action in each transition tuple (s, a, r, s').
FIFOOnPolicyReplayBuffer and OnPolicyEpisodicReplayBuffer can be merged. This would reduce confusion and repetition. And this is already in our plan.
from pearl.
Ok, this is helpful to know. I'll close the ticket then.
from pearl.
Related Issues (20)
- Frozen-lake tutorial HOT 1
- Question: train_via_uniform_data HOT 10
- Unable to export loss values from TD3 HOT 12
- cuda out of meomory HOT 16
- Simplify actor-critic with shared layers HOT 2
- save the trained agent for reuse HOT 2
- custom network issue HOT 1
- Pip availability and clear versioning in branches/tags/releases HOT 2
- PPO on continuous actions HOT 9
- TorchRL Vs Pearl: What's the difference & when to use one? HOT 1
- Error when running the Single Item Recommender System Notebook HOT 5
- How is Pearl different from TorchRL? HOT 1
- Creating a project roadmap HOT 1
- Bug in tutorial single item recommender system: can't instantiate abstract class RecEnv HOT 3
- Support for imitation learning HOT 3
- RuntimeError for action shape HOT 3
- What is the use of the attribute 'state' in the RecEnv from the single item recommender tutorial? HOT 1
- Rainbow DQN HOT 1
- Add voice message capabilities HOT 1
- How exactly is Pearl "Production-ready"? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pearl.