Skip to content
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

[Bug]: IMG2IMG Batch will not locate TIF images #12106

Closed
1 task done
DiabolicDiabetic opened this issue Jul 27, 2023 · 1 comment
Closed
1 task done

[Bug]: IMG2IMG Batch will not locate TIF images #12106

DiabolicDiabetic opened this issue Jul 27, 2023 · 1 comment
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@DiabolicDiabetic
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Had been batching tifs in IMG2IMG for days, but restarted (and updated) last night and IMG2IMG batch no longer locates TIF images.

Steps to reproduce the problem

  1. Go to IMG2IMG tab, Batch sub-tab
  2. Set input directory to a directory with images
  3. Press generate
  4. Console reports "will process 0 images, creating 1 new images for each."

If I put JPG or PNG into the same directory, or point to a directory without TIFs it will process those, but not the TIF images.

What should have happened?

It should crank 'em out :)

Version or Commit where the problem happens

1.5.1

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

xformers

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers --disable-safe-unpickle

List of extensions

Roop
Pixelization
Controlnet 1.1

Console logs

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a


Fetching updates for midas...
Checking out commit for midas with hash: 1645b7e...

Installing opencv-python
Installing opencv-python for pixel extension



Checking Roop-GE requirements...
Done!



Launching Web UI with arguments: --autolaunch --xformers --disable-safe-unpickle
=================================================================================
You are running xformers 0.0.17.
The program is tested to work with xformers 0.0.20.
To reinstall the desired version, run with commandline flag --reinstall-xformers.

Use --skip-version-check commandline argument to disable this check.
=================================================================================
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: Z:\Applications\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
[-] ADetailer initialized. version: 23.7.9, num models: 9
2023-07-27 10:42:26,103 - ControlNet - INFO - ControlNet v1.1.233
ControlNet preprocessor location: Z:\Applications\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-07-27 10:42:26,243 - ControlNet - INFO - ControlNet v1.1.233
2023-07-27 10:42:26,620 - Roop-GE - INFO - Roop-GE v0.2.2
2023-07-27 10:42:26,621 - Roop-GE - INFO - Roop-GE v0.2.2
Loading weights [c52892e92a] from Z:\Applications\A1111 Web UI Autoinstaller\stable-diffusion-webui\models\Stable-diffusion\default\realistic\realisticVisionV30_v30VAE.safetensors
*Deforum ControlNet support: enabled*
Creating model from config: Z:\Applications\A1111 Web UI Autoinstaller\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 24.2s (launcher: 10.6s, import torch: 5.2s, import gradio: 1.0s, setup paths: 0.7s, other imports: 0.8s, load scripts: 4.3s, create ui: 0.9s, gradio launch: 0.4s).
DiffusionWrapper has 859.52 M params.
Applying attention optimization: xformers... done.
Model loaded in 5.3s (load weights from disk: 1.3s, create model: 0.6s, apply weights to model: 1.6s, apply half(): 0.7s, move model to device: 1.0s).
Will process 0 images, creating 1 new images for each.

Additional information

Seemingly IMG2IMG will process the images individually, but batch will not locate TIFs

@DiabolicDiabetic DiabolicDiabetic added the bug-report Report of a bug, yet to be confirmed label Jul 27, 2023
@DiabolicDiabetic
Copy link
Contributor Author

Submitted pull request IMG2IMG TIF batch fix img2img.py #12120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants