Skip to content

Commit

Permalink
Replace tools/downloader/license.txt with per-model licensing notices
Browse files Browse the repository at this point in the history
This finally makes it so that all information about the model is contained
within that model's directory.

Some notes about the changes:

* I embedded most of the licenses into the model's documentation pages
  to make them easily accessible. The exceptions are long licenses (Apache and
  Creative Commons), which would dominate the documentation page if I embedded
  them too. I split them off into separate files instead.

* Several projects have made trivial modifications to the Apache license.
  This shouldn't have any legal significance, but to be on the safe side,
  I included every such modified license into the `licenses` directory
  as a separate file.

* Several models had the wrong license links in the documentation.
  I fixed those.

* `googlenet-v1` even had the wrong license link in `model.yml`.
  I fixed that too.

* I didn't update the documentation for Intel models, since the overall
  project license already implicitly applies to them.
  • Loading branch information
Roman Donchenko committed Dec 12, 2019
1 parent 5ccff9f commit 8304282
Show file tree
Hide file tree
Showing 97 changed files with 2,828 additions and 4,924 deletions.
27 changes: 26 additions & 1 deletion models/public/Sphereface/Sphereface.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,29 @@ The net outputs on different images are comparable in cosine distance.

## Legal Information

[LICENSE](https://raw.githubusercontent.com/wy1iu/sphereface/master/LICENSE)
The original model is distributed under the following
[license](https://raw.githubusercontent.com/wy1iu/sphereface/master/LICENSE):

```
MIT License
Copyright (c) 2017 Weiyang Liu and Yandong Wen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
7 changes: 6 additions & 1 deletion models/public/alexnet/alexnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ Object classifier according to ImageNet classes, name - `prob`, shape - `1,1000`

## Legal Information

[https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_alexnet/readme.md]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_alexnet/readme.md):

```
This model is released for unrestricted use.
```
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ With the following channels: `background`, `necrotic core`, `edema` and `enhanci

## Legal Information

[https://github.com/lachinov/brats2018-graphlabunn/blob/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://github.com/lachinov/brats2018-graphlabunn/blob/master/LICENSE).
A copy of the license is provided in [APACHE-2.0.txt](../licenses/APACHE-2.0.txt).
7 changes: 6 additions & 1 deletion models/public/caffenet/caffenet.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,9 @@ probability for each class.

## Legal Information

[https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_reference_caffenet/readme.md]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/BVLC/caffe/master/models/bvlc_reference_caffenet/readme.md):

```
This model is released for unrestricted use.
```
27 changes: 26 additions & 1 deletion models/public/ctpn/ctpn.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,29 @@ Image, name: `Placeholder`, shape: [1x3x600x600], format: [BxCxHxW],

## Legal Information

[https://raw.githubusercontent.com/eragonruan/text-detection-ctpn/banjin-dev/LICENSE]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/eragonruan/text-detection-ctpn/banjin-dev/LICENSE):

```
MIT License
Copyright (c) 2017 shaohui ruan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
4 changes: 3 additions & 1 deletion models/public/deeplabv3/deeplabv3.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ Integer values in a range [0, 20], which represent an index of a predicted class

## Legal Information

[https://raw.githubusercontent.com/tensorflow/models/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/tensorflow/models/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TensorFlow.txt](../licenses/APACHE-2.0-TensorFlow.txt).
4 changes: 3 additions & 1 deletion models/public/densenet-121-caffe2/densenet-121-caffe2.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ probability for each class in logits format.

## Legal Information

[https://raw.githubusercontent.com/caffe2/models/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/caffe2/models/master/LICENSE).
A copy of the license is provided in [APACHE-2.0.txt](../licenses/APACHE-2.0.txt).
4 changes: 3 additions & 1 deletion models/public/densenet-121-tf/densenet-121-tf.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,6 @@ Floating point values in a range [0, 1], which represent probabilities for class

## Legal Information

[https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-DenseNet.txt](../licenses/APACHE-2.0-TF-DenseNet.txt).
33 changes: 32 additions & 1 deletion models/public/densenet-121/densenet-121.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,35 @@ probability for each class in logits format.

## Legal Information

[https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE):

```
Copyright (c) 2016, Zhuang Liu.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name DenseNet nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
4 changes: 3 additions & 1 deletion models/public/densenet-161-tf/densenet-161-tf.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,6 @@ Floating point values in a range [0, 1], which represent probabilities for class

## Legal Information

[https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-DenseNet.txt](../licenses/APACHE-2.0-TF-DenseNet.txt).
33 changes: 32 additions & 1 deletion models/public/densenet-161/densenet-161.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,35 @@ probability for each class in logits format

## Legal Information

[https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE):

```
Copyright (c) 2016, Zhuang Liu.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name DenseNet nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
4 changes: 3 additions & 1 deletion models/public/densenet-169-tf/densenet-169-tf.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,6 @@ Name:`densenet169/predictions/Reshape_1`. Contains floating point values in a ra
Name: `densenet169/predictions/Reshape_1/Transpose`, shape: [1, 1, 1, 1000]. Contains floating point values in a range [0, 1], which represent probabilities for classes in a dataset.

## Legal Information
[https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE]()
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/pudae/tensorflow-densenet/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-DenseNet.txt](../licenses/APACHE-2.0-TF-DenseNet.txt).
37 changes: 34 additions & 3 deletions models/public/densenet-169/densenet-169.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,37 @@ probability for each class in logits format
Object classifier according to ImageNet classes, name - `prob`, shape - `1,1000,1,1`, contains predicted
probability for each class in logits format

## License

[https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE]()
## Legal Information

The original model is distributed under the following
[license](https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE):

```
Copyright (c) 2016, Zhuang Liu.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name DenseNet nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
33 changes: 32 additions & 1 deletion models/public/densenet-201/densenet-201.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,35 @@ probability for each class in logits format

## Legal Information

[https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE]()
The original model is distributed under the following
[license](https://raw.githubusercontent.com/liuzhuang13/DenseNet/master/LICENSE):

```
Copyright (c) 2016, Zhuang Liu.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name DenseNet nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ Object classifier according to ImageNet classes, name - `prob`, shape - `1,1000

## Legal Information

[LICENSE](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/5e91628ed98250989a7ddd20abfe27385e0493c1/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/5e91628ed98250989a7ddd20abfe27385e0493c1/LICENSE).
A copy of the license is provided in [APACHE-2.0-PyTorch-EfficientNet.txt](../licenses/APACHE-2.0-PyTorch-EfficientNet.txt).
4 changes: 3 additions & 1 deletion models/public/efficientnet-b0/efficientnet-b0.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ Object classifier according to ImageNet classes, name - `efficientnet-b0/model/h

## Legal Information

[LICENSE](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-TPU.txt](../licenses/APACHE-2.0-TF-TPU.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ Object classifier according to ImageNet classes, name - `efficientnet-b0/model/h

## Legal Information

[LICENSE](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-TPU.txt](../licenses/APACHE-2.0-TF-TPU.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ Object classifier according to ImageNet classes, name - `prob`, shape - `1,1000

## Legal Information

[LICENSE](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/a36e2b2cd1bd122a508a6fffeaa7606890f8c882/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/5e91628ed98250989a7ddd20abfe27385e0493c1/LICENSE).
A copy of the license is provided in [APACHE-2.0-PyTorch-EfficientNet.txt](../licenses/APACHE-2.0-PyTorch-EfficientNet.txt).
4 changes: 3 additions & 1 deletion models/public/efficientnet-b5/efficientnet-b5.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ Object classifier according to ImageNet classes, name - `efficientnet-b5/model/h

## Legal Information

[LICENSE](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-TPU.txt](../licenses/APACHE-2.0-TF-TPU.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ Object classifier according to ImageNet classes, name - `prob`, shape - `1,1000

## Legal Information

[LICENSE](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/a36e2b2cd1bd122a508a6fffeaa7606890f8c882/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/rwightman/gen-efficientnet-pytorch/5e91628ed98250989a7ddd20abfe27385e0493c1/LICENSE).
A copy of the license is provided in [APACHE-2.0-PyTorch-EfficientNet.txt](../licenses/APACHE-2.0-PyTorch-EfficientNet.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ Object classifier according to ImageNet classes, name - `efficientnet-b7/model/h

## Legal Information

[LICENSE](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE)
The original model is distributed under the
[Apache License, Version 2.0](https://raw.githubusercontent.com/tensorflow/tpu/master/LICENSE).
A copy of the license is provided in [APACHE-2.0-TF-TPU.txt](../licenses/APACHE-2.0-TF-TPU.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,29 @@ The net outputs on different images are comparable in cosine distance.

## Legal Information

[LICENSE](https://raw.githubusercontent.com/deepinsight/insightface/master/LICENSE)
The original model is distributed under the following
[license](https://raw.githubusercontent.com/deepinsight/insightface/master/LICENSE):

```
MIT License
Copyright (c) 2018 Jiankang Deng and Jia Guo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Loading

0 comments on commit 8304282

Please sign in to comment.