-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fixing API call in LoadImages sample #3084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -36,7 +36,7 @@ public static void Example() | |||
|
|||
var imagesFolder = Path.GetDirectoryName(imagesDataFile); | |||
// Image loading pipeline. | |||
var pipeline = mlContext.Transforms.LoadImages(imagesFolder, "ImageReal", "ImagePath"); | |||
var pipeline = mlContext.Transforms.LoadImages("ImageReal", imagesFolder, "ImagePath"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LoadImages [](start = 48, length = 10)
Hi @rogancarr, thanks for addressing this issue.
Sorry, I should have been more specific in the issue itself - there are a few more references to this API in the samples project (DnnFeaturizeImage, ResizeImage, ConvertToGrayScale, ExtractPixels), could you update these as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
LoadImages
sample had the wrong API call. This PR fixes it so that the sample runs correctly.Fixes #3079