Skip to content

Commit ddd5fe9

Browse files
committed
Reduce number of lies in logs and comments
1 parent 33241d1 commit ddd5fe9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/reward_preprocessing/scripts/common/supervised.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def config():
3030

3131
@supervised_ingredient.config_hook
3232
def config_hook(config, command_name, logger) -> dict:
33-
"""Sets defaults for net_kwargs if not provided."""
33+
"""Warn if network is set to `use_done`, since this setting will be overriden
34+
in train_regression."""
3435
del command_name
3536
res = {}
3637
if (
@@ -39,7 +40,7 @@ def config_hook(config, command_name, logger) -> dict:
3940
):
4041
logger.warning(
4142
"Supervised training does not support setting use_done to "
42-
"False. We don't support networks that take in the done signal. "
43+
"True. We don't support networks that take in the done signal. "
4344
"This value will be ignored."
4445
)
4546

0 commit comments

Comments
 (0)