{"id":38669399,"url":"https://github.com/zhangdongkun98/rl-lib","last_synced_at":"2026-01-17T09:53:18.789Z","repository":{"id":144093122,"uuid":"375702525","full_name":"zhangdongkun98/rl-lib","owner":"zhangdongkun98","description":"A simple and neat implementation of reinforcement learning algorithms.","archived":false,"fork":false,"pushed_at":"2025-01-25T07:13:51.000Z","size":882,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-20T03:26:04.935Z","etag":null,"topics":["ddpg","dqn","ppo","python","reinforcement-learning-algorithms","sac","td3","torch"],"latest_commit_sha":null,"homepage":"","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/zhangdongkun98.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}},"created_at":"2021-06-10T13:13:02.000Z","updated_at":"2025-01-25T07:13:54.000Z","dependencies_parsed_at":"2025-01-25T08:28:01.907Z","dependency_job_id":null,"html_url":"https://github.com/zhangdongkun98/rl-lib","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zhangdongkun98/rl-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangdongkun98%2Frl-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangdongkun98%2Frl-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangdongkun98%2Frl-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangdongkun98%2Frl-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhangdongkun98","download_url":"https://codeload.github.com/zhangdongkun98/rl-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhangdongkun98%2Frl-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ddpg","dqn","ppo","python","reinforcement-learning-algorithms","sac","td3","torch"],"created_at":"2026-01-17T09:53:18.712Z","updated_at":"2026-01-17T09:53:18.773Z","avatar_url":"https://github.com/zhangdongkun98.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rl-lib\n\nGoal: follow the structure of [openai-spinningup-key-papers](https://spinningup.openai.com/en/latest/spinningup/keypapers.html).\n\n\n## Clone this repo\n```bash\ngit clone https://github.com/zhangdongkun98/rl-lib.git\ncd rl-lib\n```\n\n\n## Requirements\n\n### 0. some packages\n```bash\npip install -r requirements.txt\n```\n\n### 1. torch\n```bash\npip install torch==1.9.1\npip install torchvision==0.10.1\n```\n\n### 2. rl-dev\n```bash\npip install rldev==0.0.2\n```\n\n\n### 3. gym envs (optional)\n```bash\npip install box2d-py\npip install atari-py\n```\n\n### 4. MuJoCo and mujoco-py (optional)\n\n[MuJoCo download](https://mujoco.org/download) \u003cbr\u003e\n[mujoco-py repo](https://github.com/openai/mujoco-py) \u003cbr\u003e\n\n- version 200\n```bash\nmkdir -p ~/.mujoco \u0026\u0026 cd ~/.mujoco\nwget https://roboti.us/download/mujoco200_linux.zip  ## extract and rename to mujoco200\nwget https://roboti.us/file/mjkey.txt\n./mujoco200/bin/simulate ./mujoco200/model/humanoid.xml  ## test if success\necho \"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin\" \u003e\u003e ~/.bashrc\n\nsudo apt-get install libosmesa6-dev\nsudo apt-get install patchelf\n\nsudo apt-get install libglew-dev\necho \"export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so\" \u003e\u003e ~/.bashrc\n\npip install mujoco-py==2.0.2.7\n```\n\n- version 210 (todo)\n```bash\nmkdir -p ~/.mujoco \u0026\u0026 cd ~/.mujoco\nwget https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz\n```\n\n\n\n## Installation\n\n```bash\npip install -e .\n```\n\n\n\n\n## others\n\t- basic\n\n    - buffer\n    - template\n\n\n\n## reference\n\n- https://github.com/sfujim/TD3\n- https://github.com/haarnoja/sac\n- https://github.com/pranz24/pytorch-soft-actor-critic\n- https://github.com/lnpalmer/A2C\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangdongkun98%2Frl-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhangdongkun98%2Frl-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhangdongkun98%2Frl-lib/lists"}