kwonminki / Asyrp_official

official repo for Asyrp : Diffusion Models already have a Semantic Latent Space (ICLR2023)
MIT License
249 stars 20 forks source link

There is no option for Celeba_HQ_P2 despite recommendation #16

Open sidney1505 opened 10 months ago

sidney1505 commented 10 months ago

Hi,

when trying to apply your script with the config https://github.com/kwonminki/Asyrp_official/blob/main/configs/celeba_p2.yml you get the following error:

"sh script_get_lpips.sh INFO: underlay of /usr/bin/nvidia-smi required more than 50 (274) bind mounts INFO - main.py - 2023-12-07 17:58:17,991 - Using device: cuda Get lpips distance... ERROR - main.py - 2023-12-07 17:58:28,427 - Traceback (most recent call last): File "/home/sidney/workspace/Asyrp_official/main.py", line 337, in main runner.compute_lpips_distance() File "/opt/conda/envs/peal/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/sidney/workspace/Asyrp_official/diffusion_latent.py", line 1198, in compute_lpips_distance model = self.load_pretrained_model() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sidney/workspace/Asyrp_official/diffusion_latent.py", line 99, in load_pretrained_model raise ValueError "

because "CelebA_HQ_P2" is none of the options.

Best, Sidney