Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions machine-learning/tutorials/TransferLearningTF/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ public static void ClassifyImages(MLContext mlContext, string dataLocation, stri

// Read the image_list.tsv file and add the filepath to the image file name
// before loading into ImageData
// <SnippetReadFromTSV>
// <SnippetCallReadFromTSV>
var imageData = ReadFromTsv(dataLocation, imagesFolder);
var imageDataView = mlContext.Data.LoadFromEnumerable<ImageData>(imageData);
// </SnippetReadFromTSV>
// </SnippetCallReadFromTSV>

// <SnippetPredict>
var predictions = model.Transform(imageDataView);
Expand Down