浏览代码

Replace error throw with a log

/develop-generalizationTraining-TrainerController
vincentpierre 6 年前
当前提交
44ca50ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UnitySDK/Assets/ML-Agents/Scripts/LearningBrain.cs

2
UnitySDK/Assets/ML-Agents/Scripts/LearningBrain.cs


#else
if (agentInfos.Count > 0)
{
throw new UnityAgentsException(string.Format(
Debug.LogError(string.Format(
"The brain {0} was set to inference mode but the Tensorflow library is not " +
"present in the Unity project.",
name));

正在加载...
取消
保存