Please!! How do I know the number of parameter Tensorflow hub model? or summary()

Viewed 11

I would like to count the number of parameters of a Object Detection model loaded from TensorFlow Hub, for example https://tfhub.dev/tensorflow/ssd_mobilenet_v2/2. I've tried this:

hub_model = hub.load("https://tfhub.dev/google/openimages_v4/ssd/mobilenet_v2/1") detector = hub.load(module_handle).signatures['default']

I want to know detector's the number of paramters. So I do detector.summary(), but there are no answer.

How can I solve my problem?? Is there any solution ?? If you solve it, please show your answer detail. Thank you.

0 Answers
Related