{"id":17287926,"url":"https://github.com/alirezamika/bipedal-es","last_synced_at":"2025-04-14T11:21:49.153Z","repository":{"id":113687965,"uuid":"95744853","full_name":"alirezamika/bipedal-es","owner":"alirezamika","description":"AI learning to walk in gym's BipedalWalker environment.","archived":false,"fork":false,"pushed_at":"2017-06-29T20:01:40.000Z","size":21,"stargazers_count":66,"open_issues_count":1,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T00:41:26.160Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alirezamika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-06-29T06:15:24.000Z","updated_at":"2025-01-16T02:10:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"58d0c45a-8790-4720-88e0-d6f4345509db","html_url":"https://github.com/alirezamika/bipedal-es","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alirezamika%2Fbipedal-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alirezamika%2Fbipedal-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alirezamika%2Fbipedal-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alirezamika%2Fbipedal-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alirezamika","download_url":"https://codeload.github.com/alirezamika/bipedal-es/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868894,"owners_count":21174778,"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","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-10-15T10:06:58.825Z","updated_at":"2025-04-14T11:21:49.141Z","avatar_url":"https://github.com/alirezamika.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An AI agent learning to walk in gym's BipedalWalker environment.\n\nThis AI agent uses Evolution Strategies and deep learning models to learn how to walk.\n\nRead [Evolution Strategies as a Scalable Alternative to Reinforcement Learning](https://blog.openai.com/evolution-strategies/) from OpenAI if you are interested.\n\nAfter a few hundred iterations, he can walk! Or he may run ;)\n\n![demo](https://image.ibb.co/c2c9F5/ezgif_com_resize.gif)\n\n\n# Dependencies\n\n- [evostra](https://github.com/alirezamika/evostra)\n- [gym](https://github.com/openai/gym)\n\n\n# Usage\n\nTo see the agent walking:\n\n```\nfrom bipedal import *\n\nagent = Agent()\n\n# the pre-trained weights are saved into 'weights.pkl' which you can use.\nagent.load('weights.pkl')\n\n# play one episode\nagent.play(1)\n```\n\nTo start training the agent:\n\n```\n# train for 100 iterations\nagent.train(100)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirezamika%2Fbipedal-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falirezamika%2Fbipedal-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirezamika%2Fbipedal-es/lists"}