RuntimeError: torch.cat(): expected a non-empty list of Tensors
rikkar69 opened this issue · 2 comments
rikkar69 commented
Hello, getting this error when running gen_aesthetic_embeddings.py. I created the folder of images in the reference_images folder, any ideas what could be the issue?
vicgalle commented
It seems to me that your variable image_paths
is empty. Check you are reading the correct directory and that the images are indeed there
rikkar69 commented
i moved the script to 'stable-diffusion-aesthetic-gradients' folder and it generated the embedding file, that was an easy fix. thanks!