浏览代码

Fix warning message formatting again

/develop/coma2/fixgroup
Ervin Teng 4 年前
当前提交
58122103
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/coma/optimizer_torch.py

2
ml-agents/mlagents/trainers/coma/optimizer_torch.py


for reward_signal, settings in reward_signal_configs.items():
if reward_signal != RewardSignalType.EXTRINSIC:
logger.warning(
f"Reward Signal {reward_signal.value} is not supported with the COMA2 trainer; "
f"Reward signal {reward_signal.value.capitalize()} is not supported with the COMA2 trainer; "
"results may be unexpected."
)
elif isinstance(settings, ExtrinsicSettings):

正在加载...
取消
保存