{"id":24539137,"url":"https://github.com/i-m-iron-man/libtorch_mujoco_ddpg","last_synced_at":"2025-03-16T03:40:20.884Z","repository":{"id":218184192,"uuid":"341719048","full_name":"i-m-iron-man/libtorch_mujoco_DDPG","owner":"i-m-iron-man","description":"DDPG algorithm on an inverted pendulum environment using Mujoco(C++) and pytorch C++ front end.","archived":false,"fork":false,"pushed_at":"2021-02-25T19:48:35.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T16:15:29.507Z","etag":null,"topics":["cpp","ddpg","deep-reinforcement-learning","inverted-pendulum","mujoco","pytorch-cpp","pytorch-cpp-frontend","pytorch-implementation"],"latest_commit_sha":null,"homepage":"https://github.com/i-m-iron-man/libtorch_mujoco_DDPG","language":"C++","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/i-m-iron-man.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}},"created_at":"2021-02-23T23:26:05.000Z","updated_at":"2022-11-01T04:57:59.000Z","dependencies_parsed_at":"2024-01-20T09:29:04.308Z","dependency_job_id":"e0a44d8f-b986-490a-b173-96b39843c38d","html_url":"https://github.com/i-m-iron-man/libtorch_mujoco_DDPG","commit_stats":null,"previous_names":["i-m-iron-man/libtorch_mujoco_ddpg"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-m-iron-man%2Flibtorch_mujoco_DDPG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-m-iron-man%2Flibtorch_mujoco_DDPG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-m-iron-man%2Flibtorch_mujoco_DDPG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-m-iron-man%2Flibtorch_mujoco_DDPG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-m-iron-man","download_url":"https://codeload.github.com/i-m-iron-man/libtorch_mujoco_DDPG/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822308,"owners_count":20353498,"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":["cpp","ddpg","deep-reinforcement-learning","inverted-pendulum","mujoco","pytorch-cpp","pytorch-cpp-frontend","pytorch-implementation"],"created_at":"2025-01-22T16:15:32.789Z","updated_at":"2025-03-16T03:40:20.857Z","avatar_url":"https://github.com/i-m-iron-man.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Inverted Pendulum task\nThe task is to balance the pendulum upright using continuous control when the maximum torque available is not enough to overcome gravity. In this implementation a DDPG algorithm is used to learn the task. Mujoco libarary(http://www.mujoco.org/) is used to model the environment and pytorch c++ frontend(https://pytorch.org/cppdocs/frontend.html) provides the support for reinforcement learning framework.\n\n## Platform\n\n  * OS: windows10(64 bit)\n  * CUDA: 10.1\n  * cuDNN: 7.6.3\n  * Compiler: MSVC 19.28.29336.0\n  * C++17\n  * Cmake: 3.19.2\n\n## Dependencies\n  * Mujoco: [mujoco200 win64](https://www.roboti.us/download/mujoco200_win64.zip)\n  * pytorch C++ frontend: [1.7.1 release](https://pytorch.org/get-started/locally/)\n  * boost: [1.75.0](https://www.boost.org/users/history/version_1_75_0.html)\n\n## Instructions\n  * In CMakeLists.txt replace `C:/Users/kings/Desktop/source/mujoco200_win64/mujoco200_win64` at line 13 with the path to your mujoco installation\n  * In CMakeLists.txt replace `C:/Users/kings/Desktop/source/libtorch-mujoco-git` at line 14 with the path to where you download these source files\n  * open a command-prompt and `cd` to the location of these files\n  * `mkdir build \u0026\u0026 cd build`\n  * In order to build use command `cmake -DCMAKE_PREFIX_PATH=\u003cabsolute path to libtorch\u003e\\libtorch ..`\n  * In order to make use command `cmake --build . --config Release`\n  * In order to run first `cd Release` then `libtorch-mujoco-git.exe ..\\..\\model\\simple_pendulum.xml`\n\n## Inspiration\nhttps://github.com/EmmiOcean/DDPG_LibTorch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-m-iron-man%2Flibtorch_mujoco_ddpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-m-iron-man%2Flibtorch_mujoco_ddpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-m-iron-man%2Flibtorch_mujoco_ddpg/lists"}