-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img2img functionality? #13
Comments
Sure, but I made a mistake and wrote it as First be sure you're in the venv: I'm running this on Windows WSL, but want to show you the other options too. 👉 For Windows if you have Anaconda installed: 👉 if you are on linux you can do : After you installed the opencv on your venv then you can run the script below:
ℹ️ Notes:
Please let me know if that helps. |
thanks so much for your valuable inputs. its running but not working properly yet! if i try: python -u -B -W ignore text2image_xl_controlnet.py --pretrained_model_name_or_path stablediffusionapi/juggernaut-xl-v5 --validation_prompt "a zombie" --seed 1374245672 --image_path "D:\Scarlett Johansson 2048x2048.png" --config .\configs\sdxl_2048x2048.yaml --logging_dir logs --controlnet_model_name_or_path diffusers/controlnet-canny-sdxl-1.0-mid scarlet = init // zombie = the img2img... Is there a strength option so it is more like the source? |
The ideal setup would be to have a --width and --height parameters passed to the script. Then the script creates the yaml files as needed. Then all the user needs to do is tell it what size the final image should be, the script does the rest resizing the init image etc. |
|
My humble suggestion is to let the script detect the size of the image automatically - not us :) |
But how to use a image2image_controlnet.py script? There is no requested config files. |
I saw the scripts are there but there is no documentation...
The text was updated successfully, but these errors were encountered: