Downloads · 30 days
0
0% of all-time downloads
winkin119/SAC-PendulumV1
SAC-PendulumV1 is a reinforcement learning model from winkin119. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product.
This is a trained model of a SAC agent playing Pendulum-v1.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
37
Public
Repo size
412 KB
Likes
0
Public
Click a slice to open those files.
.0182 KB · 50%
From the Hugging Face model README
This is a trained model of a SAC agent playing Pendulum-v1.
conda create -n drl python=3.10
conda activate drl
python -m pip install -r requirements.txt
# load the full model
model = load_from_hub(repo_id="winkin119/SAC-PendulumV1", filename="full_model.pt")
# Create the environment.
env = gym.make("Pendulum-v1")
state, _ = env.reset()
action = model.action(state)
...
There is also a state dict version of the model.