protected void PredictDataUsingModel(string imagesLocation,
                                             string imagesFolder,
                                             PredictionEngine <ImageNetData, ImageNetPrediction> model)
        {
            Console.WriteLine($"Tags file location: {imagesLocation}");
            Console.WriteLine("");
            Console.WriteLine("=====Identify the objects in the images=====");
            Console.WriteLine("");

            var testData = ImageNetData.ReadFromCsv(imagesLocation, imagesFolder);

            foreach (var sample in testData)
            {
                var probs = model.Predict(sample).PredictedLabels;
                IList <YoloBoundingBox> boundingBoxes = _parser.ParseOutputs(probs);
                var filteredBoxes = _parser.NonMaxSuppress(boundingBoxes, 5, .5F);

                Console.WriteLine(".....The objects in the image {0} are detected as below....", sample.Label);
                foreach (var box in filteredBoxes)
                {
                    Console.WriteLine(box.Label + " and its Confidence score: " + box.Confidence);
                }
                Console.WriteLine("");
            }
        }