Answers.Body: <p>I am not sure if a pretrained machine learning model is actually protected by copyrights or not. Copyright protection exists to protect the creators of creative works from having their work "stolen", and I am not sure if training a ML model is an act of creativity.</p>
  
  <p>That said, assuming that a pretrained ML model is actually protected by copyrights, then it is more likely that the model is a derived work of the data set used for training than that it is a derived work of the software that uses the model.</p>
  
  <p>The software reads the model in as data, assuming that the software can be used with many differently trained models. In that case, the software and the model are considered completely independent works in the same way that MS Word and the documents you write with it are independent works for copyright.</p>
  
  <p>Thus, if you want to publish the trained model with a license, I would recommend to use the BSD license that was also used for the training set.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-21T21:18:51.757Z
Answers.Text: My problem is, that I want to use and distribute a model pretrained by Google as part of a software. I both need to be sure that I am allowed to do this and I need to know how to license the model to my users.
Answers.UserDisplayName: allo
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-21T21:48:18.777Z
Answers.Text: That a model is loaded as data is true, but I still have two problems. First I need to convert it (from tfjs to tensorflow) and second because Google only hosts the tfjs model I would need to distribute the converted model. In addition I would probably distribute it bundled with an application that is licensed with a copyleft license and then I need to be sure that I am allowed to grant the rights from the license.
Answers.UserDisplayName: allo
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-21T10:41:37.373Z
Answers.LastActivityDate: 2020-04-21T10:41:37.373Z
Answers.UserDisplayName: Raden Katon Anugroho
Body: <p>Google provides a lot of pretrained tensorflow models, but I cannot find a license.</p>
  
  <p>I am interested in the <a href="https://github.com/tensorflow/tfjs-models/" rel="nofollow noreferrer">tfjs-models</a>. The code is licensed Apache-2.0, but the models are downloaded by the code, so the license of the repository probably does not apply to the models and I am not able to find anywhere a note about the license of the pretrained models.</p>
  
  <p>How should I handle this, especially when I may want to distribute models derived from the pretrained Google models?</p>
  
Tags: <tensorflow><pretrained-models>
Title: How does a software license apply to pretrained models?
UserDisplayName: allo
ThreadText: # How does a software license apply to pretrained models?
  
  (Asked by: username_0 on 2020-04-18)
  
  Google provides a lot of pretrained tensorflow models, but I cannot find a license.
  
  I am interested in the [tfjs-models](https://github.com/tensorflow/tfjs-models/). The code is licensed Apache-2.0, but the models are downloaded by the code, so the license of the repository probably does not apply to the models and I am not able to find anywhere a note about the license of the pretrained models.
  
  How should I handle this, especially when I may want to distribute models derived from the pretrained Google models?
  
  **Tags:** tensorflow, pretrained-models
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-21. Score: 1
  
  I am not sure if a pretrained machine learning model is actually protected by copyrights or not. Copyright protection exists to protect the creators of creative works from having their work "stolen", and I am not sure if training a ML model is an act of creativity.
  
  That said, assuming that a pretrained ML model is actually protected by copyrights, then it is more likely that the model is a derived work of the data set used for training than that it is a derived work of the software that uses the model.
  
  The software reads the model in as data, assuming that the software can be used with many differently trained models. In that case, the software and the model are considered completely independent works in the same way that MS Word and the documents you write with it are independent works for copyright.
  
  Thus, if you want to publish the trained model with a license, I would recommend to use the BSD license that was also used for the training set.
  
  > **Comments:**
  > **username_0**: My problem is, that I want to use and distribute a model pretrained by Google as part of a software. I both need to be sure that I am allowed to do this and I need to know how to license the model to my users.  
  > **username_0**: That a model is loaded as data is true, but I still have two problems. First I need to convert it (from tfjs to tensorflow) and second because Google only hosts the tfjs model I would need to distribute the converted model. In addition I would probably distribute it bundled with an application that is licensed with a copyleft license and then I need to be sure that I am allowed to grant the rights from the license.  
  
  ---
  
  