Downloads · 30 days
6
7% of all-time downloads
M-Stasiak/sac-reacher-v5
sac-reacher-v5 is a reinforcement learning model from M-Stasiak. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for stable-baselines3. The card lists the license as mit.
This repository contains a trained Soft Actor-Critic agent for the Gymnasium Reacher-v5 environment.
Downloads · 30 days
6
7% of all-time downloads
All-time downloads
91
Public
Repo size
8.1 MB
Likes
0
Public
Click a slice to open those files.
.zip6 MB · 76%
From the Hugging Face model README
This repository contains a trained Soft Actor-Critic agent for the Gymnasium Reacher-v5 environment.
The agent controls a two-joint robotic manipulator and was trained using Stable-Baselines3, Gymnasium and MuJoCo.
View the complete project on GitHub
Clone the complete project from GitHub and install the required dependencies:
git clone https://github.com/M-Stasiak/TSwR_project.git
cd TSwR_project
pip install -r requirements.txt
Download the trained SAC model and place it in the trained_models directory.
huggingface_hubInstall the Hugging Face client:
pip install huggingface_hub
Download the model directly into the required directory:
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(
repo_id="M-Stasiak/sac-reacher-v5",
filename="sac_reacher_final.zip",
local_dir="trained_models",
)
print(f"Model downloaded to: {model_path}")
Then select the RL controller in main.py and run:
python main.py
The GitHub repository contains the custom environment wrapper, observation processing and simulation code required to run the trained model.
Reacher-v5MlpPolicy[256, 256, 256]2,000,000102The final evaluation was performed over 1000 episodes.
| Metric | Result |
|---|---|
| Success rate | 97.2% |
| Average number of steps | 48.341 |
This model is released under the MIT License. See the LICENSE file for details.