upload models & model_index.json
Browse files- .gitattributes +1 -0
- diffswap.pth +3 -0
- glint360k_r100.pth +3 -0
- model_index.json +87 -0
- shape_predictor_68_face_landmarks.dat +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
shape_predictor_68_face_landmarks.dat filter=lfs diff=lfs merge=lfs -text
|
diffswap.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf7df1f6ebdc9d67ec0c46a066fea59b91386dde465c2e897a12ebbed8d017ea
|
| 3 |
+
size 3498619659
|
glint360k_r100.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f631718e783448b41631e15073bdc622eaeef56509bbad4e5085f23bd32db83
|
| 3 |
+
size 261223796
|
model_index.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": {
|
| 3 |
+
"base_learning_rate": 5e-07,
|
| 4 |
+
"target": "ldm.models.diffusion.ddpm.LatentDiffusion",
|
| 5 |
+
"params": {
|
| 6 |
+
"ckpt_path": null,
|
| 7 |
+
"linear_start": 0.0015,
|
| 8 |
+
"linear_end": 0.0195,
|
| 9 |
+
"num_timesteps_cond": 1,
|
| 10 |
+
"log_every_t": 200,
|
| 11 |
+
"timesteps": 1000,
|
| 12 |
+
"first_stage_key": "image",
|
| 13 |
+
"image_size": 64,
|
| 14 |
+
"channels": 3,
|
| 15 |
+
"cond_stage_trainable": true,
|
| 16 |
+
"cond_stage_key": "faceattr",
|
| 17 |
+
"conditioning_key": "crossattn",
|
| 18 |
+
"monitor": "val/loss_simple_ema",
|
| 19 |
+
"unet_config": {
|
| 20 |
+
"target": "ldm.modules.diffusionmodules.openaimodel.UNetModel",
|
| 21 |
+
"params": {
|
| 22 |
+
"image_size": 64,
|
| 23 |
+
"in_channels": 3,
|
| 24 |
+
"out_channels": 3,
|
| 25 |
+
"model_channels": 224,
|
| 26 |
+
"attention_resolutions": [
|
| 27 |
+
8,
|
| 28 |
+
4,
|
| 29 |
+
2
|
| 30 |
+
],
|
| 31 |
+
"num_res_blocks": 2,
|
| 32 |
+
"channel_mult": [
|
| 33 |
+
1,
|
| 34 |
+
2,
|
| 35 |
+
3,
|
| 36 |
+
4
|
| 37 |
+
],
|
| 38 |
+
"num_head_channels": 32,
|
| 39 |
+
"use_spatial_transformer": true,
|
| 40 |
+
"transformer_depth": 1,
|
| 41 |
+
"context_dim": 256
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"first_stage_config": {
|
| 45 |
+
"target": "ldm.models.autoencoder.VQModelInterface",
|
| 46 |
+
"params": {
|
| 47 |
+
"embed_dim": 3,
|
| 48 |
+
"n_embed": 8192,
|
| 49 |
+
"ddconfig": {
|
| 50 |
+
"double_z": false,
|
| 51 |
+
"z_channels": 3,
|
| 52 |
+
"resolution": 256,
|
| 53 |
+
"in_channels": 3,
|
| 54 |
+
"out_ch": 3,
|
| 55 |
+
"ch": 128,
|
| 56 |
+
"ch_mult": [
|
| 57 |
+
1,
|
| 58 |
+
2,
|
| 59 |
+
4
|
| 60 |
+
],
|
| 61 |
+
"num_res_blocks": 2,
|
| 62 |
+
"attn_resolutions": [],
|
| 63 |
+
"dropout": 0.0
|
| 64 |
+
},
|
| 65 |
+
"lossconfig": {
|
| 66 |
+
"target": "torch.nn.Identity"
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"cond_stage_config": {
|
| 71 |
+
"target": "ldm.modules.encoders.modules.FaceEmbedder",
|
| 72 |
+
"params": {
|
| 73 |
+
"lmk_dim": 256,
|
| 74 |
+
"comb_mode": "stack",
|
| 75 |
+
"keys": [
|
| 76 |
+
"image",
|
| 77 |
+
"landmark"
|
| 78 |
+
],
|
| 79 |
+
"attention": true,
|
| 80 |
+
"merge_eyes": true,
|
| 81 |
+
"face_model": "r100",
|
| 82 |
+
"affine_crop": true
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
}
|
shape_predictor_68_face_landmarks.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbdc2cb80eb9aa7a758672cbfdda32ba6300efe9b6e6c7a299ff7e736b11b92f
|
| 3 |
+
size 99693937
|