{"id":18206750,"url":"https://github.com/millionintegrals/vel-miniworld","last_synced_at":"2025-04-10T06:13:19.045Z","repository":{"id":80866804,"uuid":"158885065","full_name":"MillionIntegrals/vel-miniworld","owner":"MillionIntegrals","description":"An example project using vel to train reinforcement learning agents on existing community gym environments. A work in progress repository.","archived":false,"fork":false,"pushed_at":"2018-11-25T08:47:09.000Z","size":5736,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T07:22:27.903Z","etag":null,"topics":[],"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/MillionIntegrals.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":"2018-11-23T23:05:07.000Z","updated_at":"2023-11-23T15:05:39.000Z","dependencies_parsed_at":"2023-04-15T13:30:29.754Z","dependency_job_id":null,"html_url":"https://github.com/MillionIntegrals/vel-miniworld","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"1078fbe9f9998970d94cc05569f5a413d3c0fe64"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillionIntegrals%2Fvel-miniworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillionIntegrals%2Fvel-miniworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillionIntegrals%2Fvel-miniworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillionIntegrals%2Fvel-miniworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MillionIntegrals","download_url":"https://codeload.github.com/MillionIntegrals/vel-miniworld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166925,"owners_count":21058481,"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-11-03T12:06:18.851Z","updated_at":"2025-04-10T06:13:19.030Z","avatar_url":"https://github.com/MillionIntegrals.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vel-miniworld\nAn example project using vel to train reinforcement learning agents\non existing community gym environments. A work-in-progress repository.\n\n\nSupported environments:\n- https://github.com/maximecb/gym-minigrid\n- https://github.com/maximecb/gym-miniworld\n\n\nExamples confirmed to be working:\n- `examples-configs/ppo/ppo_minigrid_empty_8x8.yaml`\n- `examples-configs/ppo/ppo_minigrid_doorkey_6x6.yaml` (doesn't converge every time)\n- `examples-configs/ppo/ppo_miniworld_hallway.yaml`\n\n\n## How to run?\n\n```bash\ngit clone git@github.com:MillionIntegrals/vel-miniworld.git\ncd vel-miniworld\n\n# Optionally, if you don't want to store metrics in the db and visualize in VisDom\nmv .velproject.dummy.yaml .velproject.yaml\n\npipenv install\npipenv shell\nvel examples-configs/ppo/ppo_minigrid_empty_8x8.yaml train\nvel examples-configs/ppo/ppo_minigrid_empty_8x8.yaml record\n\n# Optionally, play a video of agent solving a rather simple environment\nmplayer output/videos/ppo_minigrid_empty_8x8/0/ppo_minigrid_empty_8x8_vid_0010.avi\n```\n\n## Additional notes\n\nFor the textures to load properly for the 3D rendered `miniworld` environment, it needs to be installed\nfrom a git repository, by running `pip install -e .` in the top-level directory of the checkout.\n\nLet me know if you have any other problems running the environments.\n\n\n## Some animations\n\nSolving simple small gridworld environment:\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/animations/ppo_minigrid_empty_8x8.gif\"\u003e\n\u003c/p\u003e\n\nSolving slightly more complex gridworld environment with sparse rewards:\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/animations/ppo_minigrid_doorkey_6x6.gif\"\u003e\n\u003c/p\u003e\n\nSolving small 3D rendered world:\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/animations/ppo_miniworld_hallway.gif\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmillionintegrals%2Fvel-miniworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmillionintegrals%2Fvel-miniworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmillionintegrals%2Fvel-miniworld/lists"}