Exemple #1
0
        /// <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");
        }
Exemple #2
0
        /// <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");
        }