License for Resnet included in torchvision

mino-txa: <p>Please provide information about the license for Resnet included in torchvision.<br>
I checked the README on this GitHub, where there is a section about Pre-Trained Model License, and subsequently referenced resnet.py.<br>
However, I could not find any information about the license. What are the licenses for ResNet18 and ResNet50 included in torchvision?</p>
<p>Is it the same BSD 3-Clause “New” or “Revised” License as the source file?</p>

mino-txa: <p>I would like to resolve this by January 2024.<br>
Can someone please give me an answer?<br>
Please let me know if there is a mistake in the posting destination.</p>

J_Johnson: <p>I am by no means a lawyer or work for PyTorch. But I would like to point out that the GitHub docs state:</p>
<blockquote>
<p>These weights reproduce closely the results of the paper using a simple training recipe.</p>
</blockquote>
<p>And the weights are downloaded from <a href="http://PyTorch.org" rel="noopener nofollow ugc">PyTorch.org</a>.</p>
<p>I interpret that to mean these are not the original weights of the ResNet paper, but were prepared with similar methodology by PyTorch, and thus the GitHub torchvision license likely extends to them.</p>
<aside class="onebox githubblob" data-onebox-src="https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py">
  <header class="source">

      <a href="https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py" target="_blank" rel="noopener nofollow ugc">github.com</a>
  </header>

  <article class="onebox-body">
    <h4><a href="https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py" target="_blank" rel="noopener nofollow ugc">pytorch/vision/blob/main/torchvision/models/resnet.py</a></h4>


      <pre><code class="lang-py">from functools import partial
from typing import Any, Callable, List, Optional, Type, Union

import torch
import torch.nn as nn
from torch import Tensor

from ..transforms._presets import ImageClassification
from ..utils import _log_api_usage_once
from ._api import register_model, Weights, WeightsEnum
from ._meta import _IMAGENET_CATEGORIES
from ._utils import _ovewrite_named_param, handle_legacy_interface


__all__ = [
    "ResNet",
    "ResNet18_Weights",
    "ResNet34_Weights",
    "ResNet50_Weights",
    "ResNet101_Weights",
</code></pre>



  This file has been truncated. <a href="https://github.com/pytorch/vision/blob/main/torchvision/models/resnet.py" target="_blank" rel="noopener nofollow ugc">show original</a>

  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>


mino-txa: <p>Hi Johnson,<br>
Thank you for your response.<br>
I’m glad we have the same understanding.<br>
I would like to use it as the BSD 3-Clause “New” or “Revised” License.</p>

mino-txa: <p>If you are a PyTorch developer and have a different opinion, please reply.</p>

marksaroufim: <p>Maybe <a class="mention" href="/u/nicolashug">@NicolasHug</a> knows</p>

mino-txa: <p>Thank you. <a class="mention" href="/u/marksaroufim">@marksaroufim</a></p>
<p><a class="mention" href="/u/nicolashug">@NicolasHug</a>, I’m looking forward to receiving your response.</p>

Sardor_Abdirayimov: <p>Hi there,</p>
<p><a class="mention" href="/u/mino-txa">@mino-txa</a>, any updates on this issue?<br>
Thanks</p>