Feature Extraction
Diffusers
Safetensors
English
autoencoder
vision-foundation-model
dinov2
dinov3
mae
siglip2
pae
Instructions to use BiliSakura/PAE-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BiliSakura/PAE-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BiliSakura/PAE-diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 1,407 Bytes
2395677 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | {
"_class_name": "PAEDecoder",
"decoder_patch_size": 16,
"encoder_config_path": "facebook/dinov2-with-registers-large",
"encoder_hidden_size": 1024,
"encoder_input_size": 224,
"encoder_num_heads": 16,
"encoder_patch_size": 14,
"latent_dim": 32,
"latent_mean": [
-0.9140625,
0.3515625,
3.328125,
0.006500244140625,
0.298828125,
-1.3671875,
-0.0537109375,
-0.040771484375,
1.2109375,
0.0233154296875,
-0.07275390625,
-0.26953125,
-0.08251953125,
-0.037109375,
-1.078125,
2.125,
0.0439453125,
-0.02880859375,
-0.103515625,
0.1171875,
0.890625,
-0.52734375,
0.09521484375,
-0.0206298828125,
-0.10302734375,
0.51171875,
-0.12109375,
0.054931640625,
0.376953125,
0.0252685546875,
-0.0177001953125,
2.109375
],
"latent_multiplier": 1.0,
"latent_std": [
0.412109375,
0.373046875,
0.322265625,
0.359375,
0.462890625,
0.390625,
0.365234375,
0.40625,
0.40625,
0.4140625,
0.36328125,
0.375,
0.458984375,
0.36328125,
0.373046875,
0.40234375,
0.361328125,
0.34375,
0.421875,
0.35546875,
0.357421875,
0.40234375,
0.38671875,
0.365234375,
0.419921875,
0.3828125,
0.373046875,
0.373046875,
0.416015625,
0.349609375,
0.37890625,
0.3515625
]
}
|