depthmap2mask icon indicating copy to clipboard operation
depthmap2mask copied to clipboard

TypeError: argument of type 'NoneType' is not iterable

Open bypaulomeyer opened this issue 1 year ago • 7 comments

What's up guys. I'm having trouble using Depthmap2mask. I can install as instructed by github. When I go to img2img, enable Depthmap2mask and enable dpt_large, the following error appears in the CMD: File "C:\Users\bypau\Desktop\SD\stable-diffusion-webui\repositories\midas\midas\base_model.py", line 13, in load if "optimizer" in parameters: TypeError: argument of type 'NoneType' is not iterable

When I select another model other than dpt_large it works. The problem is only in dpt_large.

I am very grateful to everyone who can help me.

bypaulomeyer avatar May 23 '23 17:05 bypaulomeyer