Added Files
Browse files- config.json +21 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- pytorch_fuse_module_weights.safetensors +3 -0
- pytorch_lora_weights.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"PhotoMakerIDEncoder"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"hidden_act": "quick_gelu",
|
7 |
+
"hidden_size": 1024,
|
8 |
+
"image_size": 224,
|
9 |
+
"initializer_factor": 1.0,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 4096,
|
12 |
+
"layer_norm_eps": 1e-05,
|
13 |
+
"model_type": "clip_vision_model",
|
14 |
+
"num_attention_heads": 16,
|
15 |
+
"num_channels": 3,
|
16 |
+
"num_hidden_layers": 24,
|
17 |
+
"patch_size": 14,
|
18 |
+
"projection_dim": 768,
|
19 |
+
"torch_dtype": "float16",
|
20 |
+
"transformers_version": "4.36.2"
|
21 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b75cb830238ea93bcb544a9111cefb2056a5c49d2a7a1283d7398fd7a33d907
|
3 |
+
size 652595256
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.48145466,
|
13 |
+
0.4578275,
|
14 |
+
0.40821073
|
15 |
+
],
|
16 |
+
"image_processor_type": "CLIPImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.26862954,
|
19 |
+
0.26130258,
|
20 |
+
0.27577711
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 224
|
26 |
+
}
|
27 |
+
}
|
pytorch_fuse_module_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84e78a1bfbc4a03e1559ad449e062eb2c894e6804993d855ea8e50045fe510a7
|
3 |
+
size 41993552
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cb16f42240787a01dc8deaf89e4d3cdecd560b8b053fc9da77187e8091bf3b76
|
3 |
+
size 185975496
|