mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-09-16 22:20:26 +00:00
Minor edit to the doc
This commit is contained in:
parent
98037352f5
commit
5c94a225ef
3 changed files with 16 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -6,8 +6,11 @@ pytest:
|
||||||
type:
|
type:
|
||||||
pytype
|
pytype
|
||||||
|
|
||||||
docs:
|
doc:
|
||||||
cd docs && make html
|
cd docs && make html
|
||||||
|
|
||||||
spelling:
|
spelling:
|
||||||
cd docs && make spelling
|
cd docs && make spelling
|
||||||
|
|
||||||
|
clean:
|
||||||
|
cd docs && make clean
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ extensions = [
|
||||||
'sphinx.ext.mathjax',
|
'sphinx.ext.mathjax',
|
||||||
'sphinx.ext.ifconfig',
|
'sphinx.ext.ifconfig',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
|
# 'sphinx.ext.intersphinx',
|
||||||
]
|
]
|
||||||
|
|
||||||
if enable_spell_check:
|
if enable_spell_check:
|
||||||
|
|
@ -206,3 +207,10 @@ texinfo_documents = [
|
||||||
|
|
||||||
|
|
||||||
# -- Extension configuration -------------------------------------------------
|
# -- Extension configuration -------------------------------------------------
|
||||||
|
|
||||||
|
# Example configuration for intersphinx: refer to the Python standard library.
|
||||||
|
# intersphinx_mapping = {
|
||||||
|
# 'python': ('https://docs.python.org/3/', None),
|
||||||
|
# 'numpy': ('http://docs.scipy.org/doc/numpy/', None),
|
||||||
|
# 'torch': ('http://pytorch.org/docs/master/', None),
|
||||||
|
# }
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,10 @@ class BaseRLModel(ABC):
|
||||||
Checked parameters:
|
Checked parameters:
|
||||||
- observation_space
|
- observation_space
|
||||||
- action_space
|
- action_space
|
||||||
:return: True if environment seems to be coherent
|
|
||||||
|
:param observation_space: (gym.spaces.Space)
|
||||||
|
:param action_space: (gym.spaces.Space)
|
||||||
|
:return: (bool) True if environment seems to be coherent
|
||||||
"""
|
"""
|
||||||
if observation_space != env.observation_space:
|
if observation_space != env.observation_space:
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue