Skip to content

Commit

Permalink
Beta is over =)! V1.0rc0 (#334)
Browse files Browse the repository at this point in the history
* Fix doc + bump version

* Removed cmd util

* Remove test
  • Loading branch information
araffin authored Mar 1, 2021
1 parent b2c94a6 commit d0d55f3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 18 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
[![pipeline status](https://gitlab.com/araffin/stable-baselines3/badges/master/pipeline.svg)](https://gitlab.com/araffin/stable-baselines3/-/commits/master) [![Documentation Status](https://readthedocs.org/projects/stable-baselines/badge/?version=master)](https://stable-baselines3.readthedocs.io/en/master/?badge=master) [![coverage report](https://gitlab.com/araffin/stable-baselines3/badges/master/coverage.svg)](https://gitlab.com/araffin/stable-baselines3/-/commits/master)
[![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

**WARNING: Stable Baselines3 is currently in a beta version, breaking changes may occur before 1.0 is released**


# Stable Baselines3

Stable Baselines3 (SB3) is a set of reliable implementations of reinforcement learning algorithms in PyTorch. It is the next major version of [Stable Baselines](https://github.com/hill-a/stable-baselines).

You can read a detailed presentation of Stable Baselines in the [Medium article](https://medium.com/@araffin/stable-baselines-a-fork-of-openai-baselines-reinforcement-learning-made-easy-df87c4b2fc82).
You can read a detailed presentation of Stable Baselines3 in the [v1.0 blog post](https://araffin.github.io/post/sb3/).


These algorithms will make it easier for the research community and industry to replicate, refine, and identify new ideas, and will create good baselines to build projects on top of. We expect these tools will be used as a base around which new ideas can be added, and as a tool for comparing a new approach against existing ones. We also hope that the simplicity of these tools will allow beginners to experiment with a more advanced toolset, without being buried in implementation details.
Expand Down
3 changes: 2 additions & 1 deletion docs/guide/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ will compute a running average and standard deviation of input features (it can

.. code-block:: python
import os
import gym
import pybullet_envs
Expand Down Expand Up @@ -521,7 +522,7 @@ Behind the scene, SB3 uses an :ref:`EvalCallback <callbacks>`.
# Note: if you don't save the complete model with `model.save()`
# you cannot continue training afterward
policy = model.policy
policy.save("sac_policy_pendulum.pkl")
policy.save("sac_policy_pendulum")
# Retrieve the environment
env = model.get_env()
Expand Down
12 changes: 12 additions & 0 deletions docs/misc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Changelog
==========

Release 1.0rc0 (2021-02-28)
-------------------------------

Breaking Changes:
^^^^^^^^^^^^^^^^^
- Removed ``stable_baselines3.common.cmd_util`` (already deprecated), please use ``env_util`` instead

Documentation:
^^^^^^^^^^^^^^
- Fixed examples


Pre-Release 0.11.1 (2021-02-27)
-------------------------------

Expand Down
7 changes: 0 additions & 7 deletions stable_baselines3/common/cmd_util.py

This file was deleted.

2 changes: 1 addition & 1 deletion stable_baselines3/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.1
1.0rc0
6 changes: 0 additions & 6 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,6 @@ def test_zip_strict():
pass


def test_cmd_util_rename():
"""Test that importing cmd_util still works but raises warning"""
with pytest.warns(FutureWarning):
from stable_baselines3.common.cmd_util import make_vec_env # noqa: F401


def test_is_wrapped():
"""Test that is_wrapped correctly detects wraps"""
env = gym.make("Pendulum-v0")
Expand Down

0 comments on commit d0d55f3

Please sign in to comment.