HairCLIP icon indicating copy to clipboard operation
HairCLIP copied to clipboard

Getting error on inference when using reference image hairstyle to paste on input image.

Open ArsalanAli915 opened this issue 1 year ago • 0 comments

e1 I am getting error when I try to take inference. I am using this command python scripts/inference.py
--exp_dir=/content/resultss
--editing_type=both
--input_type=image_image
--hairstyle_ref_img_test_path=/content/oriental1.png
--color_ref_img_test_path=/content/oriental1.png
--num_of_ref_img 1
--checkpoint_path=/content/drive/MyDrive/data/hairclip.pt
--latents_test_path=/content/drive/MyDrive/data/latents.pt
What I am trying to is to take transfer hairstyle of refrence Image to input Image. I have converted input image to e4e to get latent code. Please do let me know. thnx.

ArsalanAli915 avatar Oct 12 '23 17:10 ArsalanAli915