浏览代码

Modified the warning message

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

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


#if ENABLE_TENSORFLOW
return (_modelParamLoader != null) ? _modelParamLoader.GetChecks() : new List<string>();
#else
return new List<string>(){"You need to install and enable the TensorflowSharp plugin " +
"in order to use inference. "};
return new List<string>(){
"You need to install the TensorflowSharp plugin and add the ENABLE_TENSORFLOW " +
"flag in your Player Settings in order to use inference. "};
#endif
}

正在加载...
取消
保存