Skip to content

Conversation

@GitHub1712
Copy link

added img2img Batch processing gradio script to run on movie frames or other many images multiple folders

Start:

python optimizedSD/img2imgBatch_gradio.py 

The script runs on a folder containing subfolders with images to process, it automatic inserts subfolder names into the promt.

Works great for me on Windows!

Example:

prompt: "an image of a @q@ with a hat"

Folder Stucture:

-> folder "imagesToProcess" ( type only this ( relative or absolute path) into input image field )

--> \subfolder "Cat" --> all including images will be processed with prompt: "an image of a Cat with a hat"

--> \subfolder "Dog" --> all including images will be processed with prompt: "an image of a Cat with a hat"

--> \subfolder "Beach" --> all including images will be processed with prompt: "an image of a Beach with a hat"

--> ..........

Set fix seed and some batch/numbers depending on your hardware to run on movie frames .

.

.

.

.

added img2img Batch processing gradio script to run on movie frames or other many images multiple folders

Start: 
```
python optimizedSD/img2imgBatch_gradio.py 
```



The script runs on a folder containing subfolders with images to process, it automatic inserts subfolder names into the promt.


Works great for me on Windows!



Example:


prompt: "an image of a @q@ with a hat"


Folder Stucture:

-> folder "imagesToProcess" ( type only this ( relative or absolute path) into input image field )

-->  \subfolder "Cat" --> all including images will be processed with prompt: "an image of a Cat with a hat"

-->  \subfolder "Dog" --> all including images will be processed with prompt: "an image of a Cat with a hat"

-->  \subfolder "Beach" --> all including images will be processed with prompt: "an image of a Beach with a hat"

-->  ..........

Set fix seed and some batch/numbers depending on your hardware to run on movie frames
.

.

.

.

.
@GitHub1712 GitHub1712 changed the title added img2img BATCH gradio script added img2img BATCH processing gradio script Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant