You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello people,
I trained SSD-MobileNetv1 on my custom dataset . Now I want check the time it take to detect a particular image on gpu and cpu. I also want to check model params and flops
Please help me to do this task.
The text was updated successfully, but these errors were encountered:
minhaz109074
changed the title
How to check per image inference time for any custom object detection model?
How to check per image inference time for any custom object detection model? and also check model complexity(flops, params)?
Feb 13, 2022
You can use the following python codes to check for inferencing using your system's CPU or GPU.......I referred to this github page and made few changes to the code, to check for inferencing on my saved_model on images and videos. While inferencing the videos, the frame rate is displayed which is one of the metric to be observed, if you want your model to do liver inferencing........https://github.com/abdelrahman-gaber/tf2-object-detection-api-tutorial.....While you go through the link above, will try to get the arguments to be passed for doing the inferencing using the saved_model on your CPU/GPU...... detect_objects.zip
@Kannan665 Thanks for your reply . I just completed inferencing. I faced some issues while running the script you have given in Colab. But I solved these issues. Now could you please tell me how to find out flops/params of the saved model.
@kumariko The link you provided contains code for keras sequential model. But I have a saved model in .pb format. Is there any code snippet which takes .pb format model as arguments and returns flops/params?
@Kannan665 Thanks for your reply . I just completed inferencing. I faced some issues while running the script you have given in Colab. But I solved these issues. Now could you please tell me how to find out flops/params of the saved model.
Can you please let me know that how did you find the inference time??
Hello people,
I trained SSD-MobileNetv1 on my custom dataset . Now I want check the time it take to detect a particular image on gpu and cpu. I also want to check model params and flops
Please help me to do this task.
The text was updated successfully, but these errors were encountered: