Skip to content

Added exception for non-existent directory in ImageLoader - #4831

Merged
mstfbl merged 3 commits into
dotnet:masterfrom
mstfbl:Issue-4429-2
Feb 13, 2020
Merged

Added exception for non-existent directory in ImageLoader#4831
mstfbl merged 3 commits into
dotnet:masterfrom
mstfbl:Issue-4429-2

Conversation

@mstfbl

@mstfbl mstfbl commented Feb 13, 2020

Copy link
Copy Markdown
Contributor

Path.GetFullPath("C://non-Existant) was not throwing an exception. Hence there is a need to explicitly check for the existence of the imageFolder directory. Related to #4429 .

Comment thread src/Microsoft.ML.ImageAnalytics/ImageLoader.cs Outdated
@mstfbl
mstfbl requested a review from harishsk February 13, 2020 18:37
@mstfbl
mstfbl merged commit 333f765 into dotnet:master Feb 13, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants