Instructions to use py-feat/facenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Py-Feat
How to use py-feat/facenet with Py-Feat:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Clarify model licensing scope and dataset provenance
Browse filesSeparate implementation licenses from pretrained-weight and training-data terms. Preserve existing valid grants and document unresolved distribution permissions. No weights or access settings changed.
- LICENSE-NOTICE.md +7 -0
- README.md +10 -1
LICENSE-NOTICE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# facenet — licensing scope notice
|
| 2 |
+
|
| 3 |
+
This distribution retains its existing `license: mit` metadata, and the [facenet-pytorch implementation](https://github.com/timesler/facenet-pytorch/blob/master/LICENSE.md) is MIT. The shipped file is `facenet_20180402_114759_vggface2.pth`, corresponding to the **VGGFace2-trained 20180402-114759** checkpoint in the [upstream checkpoint table](https://github.com/davidsandberg/facenet#pre-trained-models). CASIA-WebFace is a separate upstream checkpoint; this artifact must not be described as jointly trained on both.
|
| 4 |
+
|
| 5 |
+
[VGGFace2](https://www.robots.ox.ac.uk/~vgg/data/vgg_face2/) data/source-image rights and the exact pretrained-weight grant require separate consideration from the implementation license. Selecting FaceNet or reading an MIT badge does not establish unconditional commercial clearance.
|
| 6 |
+
|
| 7 |
+
This notice clarifies scope; it does not revoke existing valid grants or create a new license for third-party material. Dataset and teacher terms do not automatically relicense every trained artifact or inference output. A software license or model-card badge alone does not establish all checkpoint redistribution or commercial-use permissions.
|
README.md
CHANGED
|
@@ -9,6 +9,8 @@ pipeline_tag: image-feature-extraction
|
|
| 9 |
|
| 10 |
# FaceNet
|
| 11 |
|
|
|
|
|
|
|
| 12 |
## Model Description
|
| 13 |
facenet uses an Inception Residual Masking Network pretrained on VGGFace2 to classify facial identities. Facenet also exposes a 512 latent facial embedding space.
|
| 14 |
|
|
@@ -38,7 +40,7 @@ F. Schroff, D. Kalenichenko, J. Philbin. FaceNet: A Unified Embedding for Face R
|
|
| 38 |
```
|
| 39 |
|
| 40 |
## Acknowledgements
|
| 41 |
-
We thank Tim Esler and David Sandberg for sharing their code and
|
| 42 |
|
| 43 |
## Example Useage
|
| 44 |
|
|
@@ -71,4 +73,11 @@ identity_embeddings = identity_detector.forward(extracted_faces)
|
|
| 71 |
|
| 72 |
```
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
|
|
|
| 9 |
|
| 10 |
# FaceNet
|
| 11 |
|
| 12 |
+
> **Licensing scope:** See the [license and provenance notice](LICENSE-NOTICE.md) before relying on this card's license metadata for pretrained-weight redistribution or commercial use. Existing valid grants are preserved.
|
| 13 |
+
|
| 14 |
## Model Description
|
| 15 |
facenet uses an Inception Residual Masking Network pretrained on VGGFace2 to classify facial identities. Facenet also exposes a 512 latent facial embedding space.
|
| 16 |
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
## Acknowledgements
|
| 43 |
+
We thank Tim Esler and David Sandberg for sharing their implementation and pretrained checkpoints. Their code licenses and checkpoint/data provenance are addressed separately below.
|
| 44 |
|
| 45 |
## Example Useage
|
| 46 |
|
|
|
|
| 73 |
|
| 74 |
```
|
| 75 |
|
| 76 |
+
## License and provenance
|
| 77 |
+
|
| 78 |
+
This distribution retains its existing `license: mit` metadata, and the [facenet-pytorch implementation](https://github.com/timesler/facenet-pytorch/blob/master/LICENSE.md) is MIT. The shipped file is `facenet_20180402_114759_vggface2.pth`, corresponding to the **VGGFace2-trained 20180402-114759** checkpoint in the [upstream checkpoint table](https://github.com/davidsandberg/facenet#pre-trained-models). CASIA-WebFace is a separate upstream checkpoint; this artifact must not be described as jointly trained on both.
|
| 79 |
+
|
| 80 |
+
[VGGFace2](https://www.robots.ox.ac.uk/~vgg/data/vgg_face2/) data/source-image rights and the exact pretrained-weight grant require separate consideration from the implementation license. Selecting FaceNet or reading an MIT badge does not establish unconditional commercial clearance.
|
| 81 |
+
|
| 82 |
+
This notice clarifies scope; it does not revoke existing valid grants or create a new license for third-party material. Dataset and teacher terms do not automatically relicense every trained artifact or inference output. A software license or model-card badge alone does not establish all checkpoint redistribution or commercial-use permissions.
|
| 83 |
|