mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-05 16:51:21 -08:00
Merge branch 'AUTOMATIC1111:master' into deepdanbooru_pre_process
This commit is contained in:
commit
963d986396
30 changed files with 883 additions and 241 deletions
|
|
@ -60,7 +60,10 @@ def preprocess(process_src, process_dst, process_width, process_height, process_
|
|||
for index, imagefile in enumerate(tqdm.tqdm(files)):
|
||||
subindex = [0]
|
||||
filename = os.path.join(src, imagefile)
|
||||
img = Image.open(filename).convert("RGB")
|
||||
try:
|
||||
img = Image.open(filename).convert("RGB")
|
||||
except Exception:
|
||||
continue
|
||||
|
||||
if shared.state.interrupted:
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue