Open zhihui96 opened 3 months ago
ipadapter_FaceID/sample_ipadapter_faceid_plus.py line68
clip_image_encoder = CLIPVisionModelWithProjection.from_pretrained(f'{ip_model_dir}/clip-vit-large-patch14-336', ignore_mismatched_sizes=True)
改为了
clip_image_encoder = CLIPVisionModelWithProjection.from_pretrained(f'{ip_model_dir}/clip-vit-large-patch14-336', ignore_mismatched_sizes=True).to(dtype=torch.float16)
有人在跑FaceID Adapter的时候遇到下面的问题吗?