dotnet / dotnet/machinelearning-samples
Error with getting-started app `DeepLearning_ObjectDetection_Onnx`
- Dominant language
- PowerShell
- Stars
- 4.7k
- Forks
- 2.7k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 1
Description
Error with getting-started app `DeepLearning_ObjectDetection_Onnx`
I followed the model download and config steps [here](https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx#prepare-your-data-and-pre-trained-model)
Error:
`Read model
Model location: C:\Users\Zachariah\source\repos\ObjectDetection\bin\Debug\netcoreapp3.0\../../../assets\Model\TinyYolo2_model.onnx
Default parameters: image size=(416,416)
System.ArgumentException: Directory "" does not exist.
at Microsoft.ML.Data.ImageLoadingTransformer..ctor(IHostEnvironment env, String imageFolder, Boolean type, ValueTuple`2[] columns)
at Microsoft.ML.Data.ImageLoadingEstimator..ctor(IHostEnvironment env, String imageFolder, Boolean type, ValueTuple`2[] columns)
at Microsoft.ML.ImageEstimatorsCatalog.LoadImages(TransformsCatalog catalog, String outputColumnName, String imageFolder, String inputColumnName)
at ObjectDetection.OnnxModelScorer.LoadModel(String modelLocation) in C:\Users\Zachariah\source\repos\ObjectDetection\OnnxModelScorer.cs:line 47
at ObjectDetection.OnnxModelScorer.Score(IDataView data) in C:\Users\Zachariah\source\repos\ObjectDetection\OnnxModelScorer.cs:line 68
at ObjectDetection.Program.Main(String[] args) in C:\Users\Zachariah\source\repos\ObjectDetection\Program.cs:line 35`
Contributor guide
Assessment
This issue has not been assessed yet.