thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.73k stars 159 forks source link

fix: input_depths include PIL Image #390

Closed wsAndy closed 11 months ago

wsAndy commented 11 months ago

Only in standalone mode, when I generate depth and stereo video, I get 'PIL Image' in input_depths( line 149, input_depths = [x[2] for x in list(gen_obj)] in video_mode.py file).

I use docker image: pytorch/pytorch:2.1.0-cuda11.8-cudnn8-runtime

semjon00 commented 11 months ago

Hello.

I am not sure what the issue was and how this code change solves it. Please post the entire stacktrace.

semjon00 commented 11 months ago

Okay... Feel free to let me know if any issues do arise :)