/// <summary> /// Returns training history path of the model. /// </summary> /// <param name="mlconfigPath"></param> /// <param name="configid"></param> /// <returns></returns> public static string GetTrainingHistoryPath(string mlconfigPath, string configid) { var modelFolder = MLFactory.GetMLConfigFolder(mlconfigPath); var name = MLFactory.GetMLConfigFolderName(mlconfigPath); return($"{modelFolder}\\{MLFactory.m_MLLogFolder}\\model_{configid}.history"); }
/// <summary> /// Returns CheckPoint of the model. /// </summary> /// <param name="mlconfigPath"></param> /// <param name="configid"></param> /// <returns></returns> public static string GetModelCheckPointPath(string mlconfigPath, string configid) { var modelFolder = MLFactory.GetMLConfigFolder(mlconfigPath); var name = MLFactory.GetMLConfigFolderName(mlconfigPath); return($"{modelFolder}\\model_{configid}.checkpoint"); }