Skip to content

Commit 5a4c6fe

Browse files
authored
add proper licensing (#2528)
1 parent c95148f commit 5a4c6fe

3 files changed

Lines changed: 74 additions & 10 deletions

File tree

apps/typegpu-docs/public/assets/selfie-segmentation/model.txt renamed to apps/typegpu-docs/public/assets/selfie-segmentation/LICENSE

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
This folder contains selfie_segmenter.ssgbin, a repackaged copy of Google's
2-
MediaPipe Selfie Segmentation model used by the TypeGPU docs demo.
3-
4-
Original model: MediaPipe Selfie Segmentation, general 256x256 model.
5-
6-
Model card:
7-
https://storage.googleapis.com/mediapipe-assets/Model%20Card%20MediaPipe%20Selfie%20Segmentation.pdf
8-
9-
The model is licensed under Apache License 2.0. The full license text is
10-
included below.
111

122
Apache License
133
Version 2.0, January 2004
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
"MediaPipe Selfie Segmentation Model
2+
====================================
3+
4+
This directory contains the MediaPipe Selfie Segmentation model
5+
(general 256x256 variant), repackaged into the `.ssbin` binary
6+
format for use with the TypeGPU runtime.
7+
8+
Original work
9+
-------------
10+
Title: MediaPipe Selfie Segmentation (general 256x256 model)
11+
Authors: Tingbo Hou, Siargey Pisarchyk, Karthik Raveendran (Google LLC)
12+
Date: May 6, 2021
13+
License: Apache License, Version 2.0
14+
Model card: https://storage.googleapis.com/mediapipe-assets/Model%20Card%20MediaPipe%20Selfie%20Segmentation.pdf
15+
16+
Copyright (c) 2021 Google LLC
17+
18+
Licensed under the Apache License, Version 2.0 (the "License");
19+
you may not use this file except in compliance with the License.
20+
You may obtain a copy of the License at
21+
22+
http://www.apache.org/licenses/LICENSE-2.0
23+
24+
Unless required by applicable law or agreed to in writing, software
25+
distributed under the License is distributed on an "AS IS" BASIS,
26+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27+
See the License for the specific language governing permissions and
28+
limitations under the License.
29+
30+
Modifications
31+
-------------
32+
The original model has been repackaged from its original distribution
33+
format into the `.ssbin` binary container format compatible with the
34+
TypeGPU runtime. The model weights, architecture, and computational
35+
behavior have not been altered; only the file container has been changed.
36+
37+
This repackaging was performed by Software Mansion S.A. as part of the
38+
TypeGPU project (https://github.com/software-mansion/TypeGPU).
39+
40+
Trademarks
41+
----------
42+
"MediaPipe" and "Google" are trademarks of Google LLC. This project is
43+
not affiliated with, endorsed by, or sponsored by Google LLC. References
44+
to MediaPipe herein are made for the sole purpose of identifying the
45+
upstream source of the model in accordance with Apache License 2.0
46+
attribution requirements."
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# MediaPipe Selfie Segmentation Model (TypeGPU)
2+
3+
This directory contains a third-party machine learning model used by
4+
the TypeGPU selfie segmentation example.
5+
6+
## What is this?
7+
8+
- **Model**: MediaPipe Selfie Segmentation (general, 256×256)
9+
- **Author**: Google LLC
10+
- **License**: Apache License, Version 2.0 — see [`LICENSE`](./LICENSE)
11+
- **Attribution & modifications**: see [`NOTICE`](./NOTICE)
12+
- **Original model card**: [link](https://storage.googleapis.com/mediapipe-assets/Model%20Card%20MediaPipe%20Selfie%20Segmentation.pdf)
13+
14+
## Files
15+
16+
- `selfie_segmenter.ssbin` — model weights repackaged into the `.ssbin`
17+
binary format used by TypeGPU. The weights and architecture are
18+
identical to the original; only the container format differs.
19+
- `LICENSE` — Apache License, Version 2.0 (the license under which the
20+
original model is distributed).
21+
- `NOTICE` — attribution and modification notices required by Apache 2.0
22+
Section 4.
23+
24+
## Important
25+
26+
This model is **not** part of TypeGPU itself. TypeGPU is licensed under
27+
the MIT License, but this asset is licensed under Apache 2.0 and any
28+
redistribution must preserve the contents of `LICENSE` and `NOTICE`.

0 commit comments

Comments
 (0)