有一些在Keras pre-trained模型如下:
- MobileNetV2:這個模型可以使用ImageNet訓練。語法如果這個模型如下所示:
keras.applications.mobilenet_v2。MobileNetV2( alpha = 1.0, input_shape = None, include_top = True, input_tensor = None, pooling = None, weights = 'imagenet', classes = 800 )
VGG16:這個模型也是培訓使用ImageNet和語法如下所示:
keras.applications.inception_v3。InceptionV3 (include_top = True,池=,= 2000類權重= imagenet, input_tensor = None, input_shape = None,)
- InceptionV3:給出了該模型的語法如下:
keras.applications.inception_v3。InceptionV3 (include_top = True,池=,= 2000類權重= imagenet, input_tensor = None, input_shape = None,)
- InceptionResNetV2:這個模型可以使用下麵的語法:
keras.applications.inception_resnet_v2。InceptionResNetV2 (include_top = True, input_tensor = None, input_shape = None,權重= imagenet,池=沒有類= 2000)