yanze commited on
Commit
fba397b
1 Parent(s): 0f90f5b

Update pulid/pipeline_flux.py

Browse files
Files changed (1) hide show
  1. pulid/pipeline_flux.py +1 -0
pulid/pipeline_flux.py CHANGED
@@ -57,6 +57,7 @@ class PuLIDPipeline(nn.Module):
57
  self.face_helper.face_parse = init_parsing_model(model_name='bisenet', device=self.device)
58
  self.face_helper.face_parse = self.face_helper.face_parse.to(self.device)
59
  self.face_helper.face_det = self.face_helper.face_det.to(self.device)
 
60
  # clip-vit backbone
61
  model, _, _ = create_model_and_transforms('EVA02-CLIP-L-14-336', 'eva_clip', force_custom_clip=True)
62
  model = model.visual
 
57
  self.face_helper.face_parse = init_parsing_model(model_name='bisenet', device=self.device)
58
  self.face_helper.face_parse = self.face_helper.face_parse.to(self.device)
59
  self.face_helper.face_det = self.face_helper.face_det.to(self.device)
60
+ self.face_helper.face_det.body = self.face_helper.face_det.body.to(self.device)
61
  # clip-vit backbone
62
  model, _, _ = create_model_and_transforms('EVA02-CLIP-L-14-336', 'eva_clip', force_custom_clip=True)
63
  model = model.visual