fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

Error: Destination path '/content/data/subject/first_image.jpg' already exists

Open lgrkvst opened this issue 3 years ago • 1 comments

If a user for some reason needs to rerun Dreambooth > Setting up, uploaded images will collide.

I guess there needs to be...

os.path.exists('/content/data/subject'):
    !rm -r /content/data/subject

in there somewhere...

lgrkvst avatar Oct 20 '22 15:10 lgrkvst

If the instance images are the same, you don't need to reupload them, just skip the uploading process

TheLastBen avatar Oct 20 '22 15:10 TheLastBen