38 references to Architecture
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
84Arch = ImageClassificationTrainer.Architecture.ResnetV250,
Microsoft.ML.Samples (3)
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
86Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
71Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
71Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
86Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
71Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
71Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
Microsoft.ML.TensorFlow.Tests (11)
TensorflowTests.cs (11)
1458internal (string, string, string, bool) getInitialParameters(ImageClassificationTrainer.Architecture arch, string finalImagesFolderName) 1468[InlineData(ImageClassificationTrainer.Architecture.ResnetV2101)] 1469[InlineData(ImageClassificationTrainer.Architecture.MobilenetV2)] 1470[InlineData(ImageClassificationTrainer.Architecture.ResnetV250)] 1471[InlineData(ImageClassificationTrainer.Architecture.InceptionV3)] 1472public void TensorFlowImageClassification(ImageClassificationTrainer.Architecture arch) 1630workspacePath, isReuse) = getInitialParameters(ImageClassificationTrainer.Architecture.ResnetV2101, _finalImagesFolderName); 1641Arch = ImageClassificationTrainer.Architecture.ResnetV2101, 1787workspacePath, isReuse) = getInitialParameters(ImageClassificationTrainer.Architecture.ResnetV2101, _finalImagesFolderName); 1798Arch = ImageClassificationTrainer.Architecture.ResnetV2101, 1877Arch = ImageClassificationTrainer.Architecture.ResnetV2101,
Microsoft.ML.Vision (20)
ImageClassificationTrainer.cs (20)
101internal static IReadOnlyDictionary<Architecture, string> ModelFileName = new Dictionary<Architecture, string> 103{ Architecture.ResnetV2101, @"resnet_v2_101_299.meta" }, 104{ Architecture.InceptionV3, @"inception_v3.meta" }, 105{ Architecture.MobilenetV2, @"mobilenet_v2.meta" }, 106{ Architecture.ResnetV250, @"resnet_v2_50_299.meta" } 112internal static IReadOnlyDictionary<Architecture, Tuple<int, int>> ImagePreprocessingSize = 113new Dictionary<Architecture, Tuple<int, int>> 115{ Architecture.ResnetV2101, new Tuple<int, int>(299,299) }, 116{ Architecture.InceptionV3, new Tuple<int, int>(299,299) }, 117{ Architecture.MobilenetV2, new Tuple<int, int>(224,224) }, 118{ Architecture.ResnetV250, new Tuple<int, int>(299,299) } 376public Architecture Arch = Architecture.ResnetV250; 575var arch = _options.Arch; 576if (arch == Architecture.ResnetV2101) 581else if (arch == Architecture.InceptionV3) 586else if (arch == Architecture.MobilenetV2) 591else if (arch == Architecture.ResnetV250) 1326private TensorFlowSessionWrapper LoadTensorFlowSessionFromMetaGraph(IHostEnvironment env, Architecture arch)