machinelearning-samples icon indicating copy to clipboard operation
machinelearning-samples copied to clipboard

Error with getting-started app `DeepLearning_ObjectDetection_Onnx`

Open zachariah11 opened this issue 4 years ago • 1 comments

Error with getting-started app DeepLearning_ObjectDetection_Onnx

I followed the model download and config steps here

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, ValueTuple2[] columns) at Microsoft.ML.Data.ImageLoadingEstimator..ctor(IHostEnvironment env, String imageFolder, Boolean type, ValueTuple2[] 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

zachariah11 avatar May 07 '20 00:05 zachariah11

how do u open it? did u install the library ml and the rest?

refaeldimri avatar May 26 '20 16:05 refaeldimri