Instructions to use kwanY/styleid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kwanY/styleid with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="kwanY/styleid") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("kwanY/styleid") model = AutoModelForZeroShotImageClassification.from_pretrained("kwanY/styleid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
---
|
| 4 |
|
| 5 |
# StyleID — Stylization-Agnostic Identity Encoder
|
|
@@ -39,4 +39,4 @@ with torch.no_grad():
|
|
| 39 |
emb = emb / emb.norm(dim=-1, keepdim=True) # optional but recommended
|
| 40 |
```
|
| 41 |
|
| 42 |
-
#### Open for non-commercial research. Do not use FFHQ for biometric human recognition
|
|
|
|
| 1 |
---
|
| 2 |
+
{}
|
| 3 |
---
|
| 4 |
|
| 5 |
# StyleID — Stylization-Agnostic Identity Encoder
|
|
|
|
| 39 |
emb = emb / emb.norm(dim=-1, keepdim=True) # optional but recommended
|
| 40 |
```
|
| 41 |
|
| 42 |
+
#### Open for non-commercial research. Do not use FFHQ for biometric human recognition
|