浏览代码

fix typo in warning for unexpected keys

/fix-resume-imi
Andrew Cohen 4 年前
当前提交
32f68206
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/model_saver/torch_model_saver.py

2
ml-agents/mlagents/trainers/model_saver/torch_model_saver.py


)
if unexpected_keys:
logger.warning(
f"Did not expect these keys {unexpected_keys} in checkpoint. Initializing"
f"Did not expect these keys {unexpected_keys} in checkpoint. Ignoring"
)
except (KeyError, TypeError):

正在加载...
取消
保存