The GoogLeNet model structure provided by pytorch does not match the paper

baizhen: <p>I want to submit a pytorch question about the model structure of GoogLeNet provided by pytorch. When using GoogLeNet provided by pytorch, I found that there is a problem with the structure of the model. The specific situation is as follows，The following figure shows the structure of the model mentioned in the GoogLeNet paper</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/1/c/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4.png" data-download-href="https://discuss.pytorch.org/uploads/default/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4" title="Snipaste_2024-06-19_10-08-19"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/1/c/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4_2_690x273.png" alt="Snipaste_2024-06-19_10-08-19" data-base62-sha1="45OSk91A6HIcIrgYGtOolWiMpvu" width="690" height="273" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/1/c/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4_2_690x273.png, https://discuss.pytorch.org/uploads/default/optimized/3X/1/c/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4_2_1035x409.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/1/c/1cb1223515a6ecb3074f7459ef3d9ebf36ab28a4.png 2x" data-dominant-color="F4F4F4"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Snipaste_2024-06-19_10-08-19</span><span class="informations">1173×465 48.8 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>In the third branch, a 5*5 convolution kernel is used, but in the model provided by pytorch, a 3*3 convolution kernel is used. The following figure is the network structure provided by pytorch. We can see that in the branch The number of large and small convolution kernels in the three is 3*3</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/c/2/c2a379840e06a8482fe26714c1a56eddf2207c9b.png" data-download-href="https://discuss.pytorch.org/uploads/default/c2a379840e06a8482fe26714c1a56eddf2207c9b" title="Snipaste_2024-06-19_10-11-15"><img src="https://discuss.pytorch.org/uploads/default/original/3X/c/2/c2a379840e06a8482fe26714c1a56eddf2207c9b.png" alt="Snipaste_2024-06-19_10-11-15" data-base62-sha1="rLQS4ubbktiKFBJNJi7EAgDOodR" width="536" height="500" data-dominant-color="F5F5F5"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Snipaste_2024-06-19_10-11-15</span><span class="informations">745×694 36.5 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>I discovered this problem when migrating the pre-training weights: the model provided by pytorc is different from the model in the paper. I don’t know if I am wrong or if pytorch was negligent when providing the model, so I am here to ask, I hope it can help Got an answer, thank you</p>

smth: <p>Please see the following issue and linked issues / comments / PRs: <a href="https://github.com/pytorch/vision/issues/906" class="inline-onebox">I find some error in googlenet.py ? · Issue #906 · pytorch/vision · GitHub</a></p>
<p>It is a known bug/deviation from the original, and we did not commit to fixing it…</p>

baizhen: <p>Thank you very much for answering my question</p>