I am trying to import Inception v3 in TensorFlow. I wish to apply it after reading this tutorial on object detection.
Keras, now fully merged with the new TensorFlow 2.0, allows you to call a long list of pre-trained models. If you want to create an Inception V3, you do:
from tensorflow.keras.applications import InceptionV3
InceptionV3 you just imported is not a model itself, it's a class. You now need to instantiate an
InceptionV3 object, with:
my_model = InceptionV3()
at this point,
my_model is a Keras
Sequential() model with the architecture and trained weights of Inception V3, that you can re-train, freeze, save, and load as you need.
Check also the full list of models available in the module, it's great.