YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Reinforcement Learning with CartPole-v1

Run the model with the code below :

import gym
from stable_baselines3 import A2C

# Load
model = A2C.load("BE_RL_CartPole/a2c_cartpole")
env_human = gym.make("CartPole-v1",render_mode="human")
obs = env_human.reset()[0]
for i in range(1000):
    action, _states = model.predict(obs, deterministic=True)
    obs, rewards, dones, info, _ = env_human.step(action)
    env_human.render()

# Close
env_human.close()

license: mit

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support