RLLIB and pylintrc (#8995)

This commit is contained in:
Ian Rodney 2020-06-17 09:14:25 -07:00 committed by GitHub
parent 265ddfc2e4
commit 2e972c2a77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -7,11 +7,11 @@
# pygtk.require(). # pygtk.require().
#init-hook= #init-hook=
# Add files or directories to the blacklist. They should be base names, not # Add files or directories to the ignore list. They should be base names, not
# paths. # paths.
ignore=CVS ignore=CVS
# Add files or directories matching the regex patterns to the blacklist. The # Add files or directories matching the regex patterns to the ignore list. The
# regex matches against base names, not paths. # regex matches against base names, not paths.
ignore-patterns= ignore-patterns=
@ -32,7 +32,7 @@ unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may # A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may # be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code # run arbitrary code
extension-pkg-whitelist= extension-pkg-allow-list=
# Allow optimization of some AST trees. This will activate a peephole AST # Allow optimization of some AST trees. This will activate a peephole AST
# optimizer, which will apply various small optimizations. For instance, it can # optimizer, which will apply various small optimizations. For instance, it can

View file

@ -343,7 +343,7 @@ COMMON_CONFIG = {
"policies": {}, "policies": {},
# Function mapping agent ids to policy ids. # Function mapping agent ids to policy ids.
"policy_mapping_fn": None, "policy_mapping_fn": None,
# Optional whitelist of policies to train, or None for all policies. # Optional list of policies to train, or None for all policies.
"policies_to_train": None, "policies_to_train": None,
# Optional function that can be used to enhance the local agent # Optional function that can be used to enhance the local agent
# observations to include more state. # observations to include more state.

View file

@ -164,7 +164,7 @@ class RolloutWorker(ParallelIteratorWorker):
policy ids in multi-agent mode. This function will be called policy ids in multi-agent mode. This function will be called
each time a new agent appears in an episode, to bind that agent each time a new agent appears in an episode, to bind that agent
to a policy for the duration of the episode. to a policy for the duration of the episode.
policies_to_train (list): Optional whitelist of policies to train, policies_to_train (list): Optional list of policies to train,
or None for all policies. or None for all policies.
tf_session_creator (func): A function that returns a TF session. tf_session_creator (func): A function that returns a TF session.
This is optional and only useful with TFPolicy. This is optional and only useful with TFPolicy.