Image-to-Image
Diffusers
Safetensors
English
controlnet
laion
face
mediapipe
Joseph Catrambone commited on
Commit
6948da2
β€’
1 Parent(s): 497cb11

Rename controlnet_* to be consistent with ControlNet1.1 model naming scheme.

Browse files
control_mediapipe_face_sd15_v2_full.ckpt β†’ control_v2p_sd15_mediapipe_face.full.ckpt RENAMED
File without changes
control_mediapipe_face_sd15_v2.pt β†’ control_v2p_sd15_mediapipe_face.pth RENAMED
File without changes
control_mediapipe_face_sd15_v2.safetensors β†’ control_v2p_sd15_mediapipe_face.safetensors RENAMED
File without changes
control_mediapipe_face_sd15_v2.yaml β†’ control_v2p_sd15_mediapipe_face.yaml RENAMED
File without changes
control_mediapipe_face_sd21_v2_full.ckpt β†’ control_v2p_sd21_mediapipe_face.full.ckpt RENAMED
File without changes
control_mediapipe_face_sd21_v2.pt β†’ control_v2p_sd21_mediapipe_face.pth RENAMED
File without changes
control_mediapipe_face_sd21_v2.safetensors β†’ control_v2p_sd21_mediapipe_face.safetensors RENAMED
File without changes
control_mediapipe_face_sd21_v2.yaml β†’ control_v2p_sd21_mediapipe_face.yaml RENAMED
File without changes
gradio_face2image.py CHANGED
@@ -13,8 +13,8 @@ from laion_face_common import generate_annotation
13
  from share import *
14
 
15
 
16
- model = create_model('./models/cldm_v21.yaml').cpu()
17
- model.load_state_dict(load_state_dict('./models/controlnet_face_condition_epoch_4_0percent.ckpt', location='cuda'))
18
  model = model.cuda()
19
  ddim_sampler = DDIMSampler(model) # ControlNet _only_ works with DDIM.
20
 
 
13
  from share import *
14
 
15
 
16
+ model = create_model('./control_v2p_sd21_mediapipe_face.yaml').cpu()
17
+ model.load_state_dict(load_state_dict('./control_v2p_sd21_mediapipe_face.full.ckpt', location='cuda'))
18
  model = model.cuda()
19
  ddim_sampler = DDIMSampler(model) # ControlNet _only_ works with DDIM.
20