コード例 #1
0
        protected override void Train()
        {
            Alg = Examples.CreateCIFAR10Demo1(m_Training);
            Alg.EpochEndedEvent += (o, e) => Utils.HandleEpochEnded(Alg, m_Training.Subset(0, 10000), ResultsFolder); // we do not have public test data in kaggle :(

            var now = DateTime.Now;

            Console.WriteLine();
            Console.WriteLine("Training started at {0}", now);
            Alg.Train();

            Console.WriteLine("--------- ELAPSED TRAIN ----------" + (DateTime.Now - now).TotalMilliseconds);
        }
コード例 #2
0
 protected override BackpropAlgorithm CreateAlgorithm()
 {
     return(Examples.CreateCIFAR10Demo1());
 }