rl-baselines3-zoo
is a training framework for Reinforcement Learning using Stable Baselines3.
You can find RL-Baselines3-Zoo models by filtering at the left of the models page.
The Stable-Baselines3 team is hosting a collection of +150 trained Reinforcement Learning agents with tuned hyperparameters that you can find here.
All models on the Hub come up with useful features:
# Download ppo SpaceInvadersNoFrameskip-v4 model and save it into the logs/ folder
python -m rl_zoo3.load_from_hub --algo dqn --env SpaceInvadersNoFrameskip-v4 -f logs/ -orga sb3
python enjoy.py --algo dqn --env SpaceInvadersNoFrameskip-v4 -f logs/
You can define three parameters:
--repo-name
: The name of the repo.-orga
: A Hugging Face username or organization.-f
: The destination folder.python -m rl_zoo3.push_to_hub --algo dqn --env SpaceInvadersNoFrameskip-v4 --repo-name dqn-SpaceInvadersNoFrameskip-v4 -orga ThomasSimonini -f logs/
You can define three parameters:
--repo-name
: The name of the repo.-orga
: Your Hugging Face username.-f
: The folder where the model is saved.