{"id":22057145,"url":"https://github.com/capnspacehook/rl-playground","last_synced_at":"2025-08-25T12:13:34.773Z","repository":{"id":209369974,"uuid":"714837516","full_name":"capnspacehook/rl-playground","owner":"capnspacehook","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-19T16:00:46.000Z","size":5090,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T21:06:09.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capnspacehook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-06T00:00:09.000Z","updated_at":"2025-03-12T10:12:39.000Z","dependencies_parsed_at":"2024-01-16T21:55:43.749Z","dependency_job_id":"57c20341-d6e9-40f1-a5af-686d4af89d88","html_url":"https://github.com/capnspacehook/rl-playground","commit_stats":null,"previous_names":["capnspacehook/rl-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/capnspacehook/rl-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Frl-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Frl-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Frl-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Frl-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capnspacehook","download_url":"https://codeload.github.com/capnspacehook/rl-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capnspacehook%2Frl-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272063223,"owners_count":24866673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T16:16:27.613Z","updated_at":"2025-08-25T12:13:34.751Z","avatar_url":"https://github.com/capnspacehook.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rl-playground\n\nA collection of my reinforcement learning projects and experiments.\n\n## Patching pyboy\n\nSmall modifications to pyboy (game boy emulator) have been made to accomplish tasks that aren't currently possible with pyboy v1. When v2 is released I will probably be able to drop my modified version. For now though you'll simply have to patch and compile pyboy yourself:\n\n```sh\n# in directory of cloned pyboy\ncp path_to_rl_playground/pyboy.patch .\ngit apply pyboy.patch\nmake install\n```\n\n## Getting started\n\nTested with Python 3.10 and 3.11 on Linux, I'm unsure if another Python version or OS will work.\n\n`main.py` can train and evaluate models and test an environment.\n\nTo start training a model run:\n\n`python3 main.py -t -a ppo -l \u003cRUN_STEP_LENGTH\u003e -n \u003cRUN_NAME\u003e \u003cPATH_TO_ROM\u003e`\n\n`optimize.py` can find optimized hyperparameters.\n\nNote that currently only PPO is supported.\n\n# Current projects\n\n- [Super Mario Land](rl_playground/env_settings/super_mario_land/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapnspacehook%2Frl-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapnspacehook%2Frl-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapnspacehook%2Frl-playground/lists"}