<p>You can instead use the GoogLeNet <code>inception_v3</code> model (<a href="https://arxiv.org/abs/1512.00567" rel="nofollow noreferrer">"Rethinking the Inception Architecture for Computer Vision"</a>):</p>

<pre><code>import torchvision
google_net = torchvision.models.inception_v3(pretrained=True)
</code></pre>
How to load pretrained googlenet model in pytorch
<p>I'm trying to finetune a GoogleNet network over a specific dataset but I'm having trouble loading it. What I try now is:</p>

<pre><code>model = torchvision.models.googlenet(pretrained=True)
</code></pre>

<p>However I get an error: </p>

<pre><code>AttributeError: module 'torchvision.models' has no attribute 'googlenet'
</code></pre>

<p>I have the latest version of torchvision but reinstalled just to be sure, the error is still there.</p>