-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Tensorflow version: 2.3.0
Use of virtual environment?: yes
Virtual environment used: Anaconda
After training and exporting a model using a custom dataset, I set out to see how well the model would work with some images I picked out specifically for testing. I used the example code provided in Object Detection From TF2 Saved Model as a template for my own dataset (commented out downloads, replaced parts with paths in my directory, etc.). However, after running the inference on each image, there is no output. Specifically, there are no images with boxes around the objects of interest. Below is the modified script I used for running the model on my images.
For reference, this is what is printed in my console when the script is run
I then decided to troubleshoot this problem by using a pre-trained model and testing it on images from the TensorFlow Model Garden. In this instance, I didn't edit the example code at all and I ended up getting the same results I did from my previous test: no images that show visualized detection results but messages that say that inferencing was performed. Could it be that the script used to initiate the entire inferencing process has an error that doesn't allow the user to view the actual detection results?