Downloads · 30 days
10
43% of all-time downloads
Destiny0621/a2c-PandaReachDense-v3
a2c-PandaReachDense-v3 is a reinforcement learning model from Destiny0621. 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.
This is a trained model of a A2C agent playing PandaReachDense-v3 using the stable-baselines3 library.
Downloads · 30 days
10
43% of all-time downloads
All-time downloads
23
Public
Repo size
205 KB
Likes
0
Public
Click a slice to open those files.
.mp4665 KB · 73%
From the Hugging Face model README
This is a trained model of a A2C agent playing PandaReachDense-v3 using the stable-baselines3 library.
import os
import gymnasium as gym
import panda_gym
from huggingface_sb3 import load_from_hub, package_to_hub
from stable_baselines3 import A2C
from stable_baselines3.common.evaluation import evaluate_policy
from stable_baselines3.common.vec_env import DummyVecEnv, VecNormalize
from stable_baselines3.common.env_util import make_vec_env
from huggingface_hub import notebook_login
Environment
env_id = "PandaReachDense-v3"
# Create the env
env = gym.make(env_id)
Model
model = A2C(policy = "MultiInputPolicy",
env = env,
learning_rate = 0.0001,
n_steps = 10,
verbose=1)