Fix unused code (#28)
* Fix unused code * Update changelog * Update SB3 dependency
This commit is contained in:
parent
81ef23d270
commit
61bfdbc00a
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# cpu version of pytorch
|
||||
pip install torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
pip install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
# Install dependencies for docs and tests
|
||||
pip install stable_baselines3[extra,tests,docs]
|
||||
# Install master version
|
||||
|
|
|
|||
|
|
@ -3,6 +3,27 @@
|
|||
Changelog
|
||||
==========
|
||||
|
||||
Release 1.1.0a5 (WIP)
|
||||
-------------------------------
|
||||
|
||||
Breaking Changes:
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Bug Fixes:
|
||||
^^^^^^^^^^
|
||||
- Removed unused code in ``TQC``
|
||||
|
||||
Deprecations:
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
Others:
|
||||
^^^^^^^
|
||||
- SB3 docs and tests dependencies are no longer required for installing SB3 contrib
|
||||
|
||||
Documentation:
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Release 1.0 (2021-03-17)
|
||||
-------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -132,8 +132,6 @@ class TQC(OffPolicyAlgorithm):
|
|||
def _setup_model(self) -> None:
|
||||
super(TQC, self)._setup_model()
|
||||
self._create_aliases()
|
||||
self.replay_buffer.actor = self.actor
|
||||
self.replay_buffer.ent_coef = 0.0
|
||||
|
||||
# Target entropy is used when learning the entropy coefficient
|
||||
if self.target_entropy == "auto":
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1.0
|
||||
1.1.0a5
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -62,7 +62,7 @@ setup(
|
|||
packages=[package for package in find_packages() if package.startswith("sb3_contrib")],
|
||||
package_data={"sb3_contrib": ["py.typed", "version.txt"]},
|
||||
install_requires=[
|
||||
"stable_baselines3[tests,docs]>=1.0",
|
||||
"stable_baselines3>=1.0",
|
||||
],
|
||||
description="Contrib package of Stable Baselines3, experimental code.",
|
||||
author="Antonin Raffin",
|
||||
|
|
|
|||
Loading…
Reference in New Issue