StableSR icon indicating copy to clipboard operation
StableSR copied to clipboard

missing code

Open flynnamy opened this issue 2 years ago • 3 comments

Hi,I found that it has reference_sr in scripts/sr_val_ddpm_text_T_vqganfin_facerefersampling.py. But it missing the sample code with reference_sr in ddpm or ddim. Could you please check that and share with it? @IceClear

flynnamy avatar Dec 19 '23 02:12 flynnamy

The reference image is taken as input for the trainable encoder. You may refer to readme to generate the reference image. image

IceClear avatar Dec 19 '23 03:12 IceClear

I know how to generate the reference image. I mean that I do not find the sample function with parameter of reference_sr. In the line of scripts/sr_val_ddpm_text_T_vqganfin_facerefersampling.py#L430. The sample function used reference_sr=ref_latent,but I can not find this sample function in ddpm or ddim function. @IceClear

flynnamy avatar Dec 19 '23 06:12 flynnamy

My bad. I have updated the related code. Thanks for your issue.

IceClear avatar Dec 19 '23 18:12 IceClear