public void TestResNet152_CreateDeployModel()
        {
            ResNetModelBuilderTest test = new ResNetModelBuilderTest(ResNetModelBuilder.MODEL.RESNET152);

            try
            {
                foreach (IModelBuilderTest t in test.Tests)
                {
                    t.TestCreateDeployModel();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
        public void TestResNet56_Siamease_CreateTrainingModel()
        {
            ResNetModelBuilderTest test = new ResNetModelBuilderTest(ResNetModelBuilder.MODEL.RESNET56, true);

            try
            {
                foreach (IModelBuilderTest t in test.Tests)
                {
                    t.TestCreateTrainingModel();
                }
            }
            finally
            {
                test.Dispose();
            }
        }
Exemple #3
0
        public void TestResNet101_CreateSolver()
        {
            ResNetModelBuilderTest test = new ResNetModelBuilderTest(ResNetModelBuilder.MODEL.RESNET101);

            try
            {
                foreach (IModelBuilderTest t in test.Tests)
                {
                    t.TestCreateSolver();
                }
            }
            finally
            {
                test.Dispose();
            }
        }