inception_v3

paddle.vision.models. inception_v3 ( pretrained=False, **kwargs ) [source]

InceptionV3 model from “Rethinking the Inception Architecture for Computer Vision”

Parameters

pretrained (bool) – If True, returns a model pre-trained on ImageNet

Examples

import paddle
from paddle.vision.models import inception_v3

# build model
model = inception_v3()

# build model and load imagenet pretrained weight
# model = inception_v3(pretrained=True)

x = paddle.rand([1, 3, 299, 299])
out = model(x)

print(out.shape)