38 references to Architecture
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
84
Arch = ImageClassificationTrainer.
Architecture
.ResnetV250,
Microsoft.ML.Samples (3)
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
86
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
71
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
71
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
86
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
71
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
71
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
Microsoft.ML.TensorFlow.Tests (11)
TensorflowTests.cs (11)
1458
internal (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)]
1472
public void TensorFlowImageClassification(ImageClassificationTrainer.
Architecture
arch)
1630
workspacePath, isReuse) = getInitialParameters(ImageClassificationTrainer.
Architecture
.ResnetV2101, _finalImagesFolderName);
1641
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
1787
workspacePath, isReuse) = getInitialParameters(ImageClassificationTrainer.
Architecture
.ResnetV2101, _finalImagesFolderName);
1798
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
1877
Arch = ImageClassificationTrainer.
Architecture
.ResnetV2101,
Microsoft.ML.Vision (20)
ImageClassificationTrainer.cs (20)
101
internal 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" }
112
internal static IReadOnlyDictionary<
Architecture
, Tuple<int, int>> ImagePreprocessingSize =
113
new 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) }
376
public
Architecture
Arch =
Architecture
.ResnetV250;
575
var
arch = _options.Arch;
576
if (arch ==
Architecture
.ResnetV2101)
581
else if (arch ==
Architecture
.InceptionV3)
586
else if (arch ==
Architecture
.MobilenetV2)
591
else if (arch ==
Architecture
.ResnetV250)
1326
private TensorFlowSessionWrapper LoadTensorFlowSessionFromMetaGraph(IHostEnvironment env,
Architecture
arch)