yownas / seed_travel

Small script for AUTOMATIC1111/stable-diffusion-webui to create images between two seeds
Other
310 stars 25 forks source link

FileNotFoundError in batch #52

Closed yownas closed 1 year ago

yownas commented 1 year ago
          > Added. :)

Hiii, I tried using seed travel with control net and the results are amazing, for a single image.

But is it possible to use it with Batch? I tried to use with batch img2img but doesn't seem to be working, getting an error "FileNotFoundError: [Errno 2] No such file or directory: 'outputs/img2img-images\travels\00005\seed_travel-info-00005.txt'" Seems that seed travel cannot create an output folder in Travels folder while using Batch, and Output directory for batch is ignored, and not sure if it's reading Input.

image

End goal is to generate style for my frames as consistent as possible and seed travel seems to have the best change in outcome so far for single image since it's working between only two seeds. I'm hoping I can change style for 50 different images with the same seed (Input images are really similar to each other just simple movement)

Thanks

_Originally posted by @AladdinFPV in https://github.com/yownas/seed_travel/issues/38#issuecomment-1523118304_

(Making a new issue of this)

yownas commented 1 year ago

Seed travel was never really made to do more than txt2img, the only reason img2im and controlnet works are more happy accidents. :)

That said, it shouldn't fail with not being able to create/find the correct folder. (Or at least handle the error more gracefully.) I'll look in to this as soon as I manage to find some time.

yownas commented 1 year ago

I've added better handling of error when writing that file. Not a perfect solution, but at least it shouldn't crash.