mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-07-01 03:45:11 +00:00
Fix integration documentation (#1135)
This commit is contained in:
parent
98b40552b8
commit
0532a5719c
1 changed files with 11 additions and 9 deletions
|
|
@ -63,17 +63,19 @@ Installation
|
|||
|
||||
pip install huggingface_sb3
|
||||
|
||||
.. note::
|
||||
|
||||
If you use the `RL Zoo <https://github.com/DLR-RM/rl-baselines3-zoo>`_, pushing/loading models from the hub is integrated in the RL Zoo:
|
||||
.. note::
|
||||
|
||||
.. code-block:: bash
|
||||
# Download model and save it into the logs/ folder
|
||||
python -m rl_zoo3.load_from_hub --algo a2c --env LunarLander-v2 -orga sb3 -f logs/
|
||||
# Test the agent
|
||||
python -m rl_zoo3.enjoy --algo a2c --env LunarLander-v2 -f logs/
|
||||
# push model, config and hyperparameters to the hub
|
||||
python -m rl_zoo3.push_to_hub --algo a2c --env LunarLander-v2 -f logs/ -orga sb3 -m "Initial commit"
|
||||
If you use the `RL Zoo <https://github.com/DLR-RM/rl-baselines3-zoo>`_, pushing/loading models from the hub are already integrated:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
# Download model and save it into the logs/ folder
|
||||
python -m rl_zoo3.load_from_hub --algo a2c --env LunarLander-v2 -orga sb3 -f logs/
|
||||
# Test the agent
|
||||
python -m rl_zoo3.enjoy --algo a2c --env LunarLander-v2 -f logs/
|
||||
# Push model, config and hyperparameters to the hub
|
||||
python -m rl_zoo3.push_to_hub --algo a2c --env LunarLander-v2 -f logs/ -orga sb3 -m "Initial commit"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue