In [1]:
KERAS_MODEL_FILEPATH = '../../demos/data/inception_v3/inception_v3.h5'

In [2]:
from keras.applications import inception_v3, imagenet_utils


Using TensorFlow backend.
/home/leon/miniconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
  return f(*args, **kwds)

In [3]:
input_shape = (299, 299, 3)

model = inception_v3.InceptionV3(input_shape=input_shape, include_top=True, weights='imagenet')

In [4]:
model.save(KERAS_MODEL_FILEPATH)

In [ ]: