Deep Learning Course
Collection
Deep Learning Course on Hugging Face
•
15 items
•
Updated
This is a trained model of a Q-Learning agent playing CartPole-v1 .
model = load_from_hub(repo_id="artbreguez/Q-Cartpole-v1", filename="q-learning.pkl")
env = gym.make(model["env_id"])
evaluate_agent(env, model["max_steps"], model["n_eval_episodes"], model["qtable"], model["eval_seed"])