You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been having this problem when trying to batch img2img
File "\stable-diffusion-webui\extensions/depthmap2mask/scripts/depthmap_for_depth2img.py", line 161, in calculate_depth_maps
img_output2[:,:,0] = img_output / 256.0
IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
The text was updated successfully, but these errors were encountered:
It's saved in .png format. However, I was somehow able to fix the problem by cropping the original images from 500x500 to some 280x500. I am not too certain but it seems that the error has something to do with the batch images' dimension.
It only happens in batch img2img tho, in normal img2img the image's dimension doesn't cause any problem.
Been having this problem when trying to batch img2img
File "\stable-diffusion-webui\extensions/depthmap2mask/scripts/depthmap_for_depth2img.py", line 161, in calculate_depth_maps
img_output2[:,:,0] = img_output / 256.0
IndexError: too many indices for array: array is 2-dimensional, but 3 were indexed
The text was updated successfully, but these errors were encountered: