mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-17 08:56:08 +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
|
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
|
If you use the `RL Zoo <https://github.com/DLR-RM/rl-baselines3-zoo>`_, pushing/loading models from the hub are already integrated:
|
||||||
# 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/
|
.. code-block:: bash
|
||||||
# Test the agent
|
|
||||||
python -m rl_zoo3.enjoy --algo a2c --env LunarLander-v2 -f logs/
|
# Download model and save it into the logs/ folder
|
||||||
# push model, config and hyperparameters to the hub
|
python -m rl_zoo3.load_from_hub --algo a2c --env LunarLander-v2 -orga sb3 -f logs/
|
||||||
python -m rl_zoo3.push_to_hub --algo a2c --env LunarLander-v2 -f logs/ -orga sb3 -m "Initial commit"
|
# 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