Skip to content
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

New/custom RL algorithm #41

Open
cexu2 opened this issue Jul 22, 2023 · 1 comment
Open

New/custom RL algorithm #41

cexu2 opened this issue Jul 22, 2023 · 1 comment
Labels
question Further information is requested

Comments

@cexu2
Copy link

cexu2 commented Jul 22, 2023

How do I add a custom RL algorithm? is there a file I need to modify ? a class that I need to implement? Any documentation will be great! I am new to gym and ray/rllib.

@fruffy
Copy link
Contributor

fruffy commented Jul 25, 2023

Iroko is basically just a wrapper around OpenAI gym. To try out a new RL algorithm you would interface the same way as you would with the Gym environment.
For example:
https://github.com/dcgym/iroko/blob/master/run_basic.py
is a basic test.
https://github.com/dcgym/iroko/blob/master/run_ray.py
interfaces with the Ray framework.

Keep in mind that this code is severely out of date.

@fruffy fruffy added the question Further information is requested label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants