depthmap2mask
depthmap2mask copied to clipboard
Create masks out of depthmaps in img2img
when we're loading a default model, that we're getting a next error: "RuntimeError: Error(s) in loading state_dict for DPTDepthModel: Missing key(s) in state_dict: "pretrained.model.layers.3.downsample.reduction.weight", "pretrained.model.layers.3.downsample.norm.weight", "pretrained.model.layers.3.downsample.norm.bias", "pretrained.model.head.fc.weight", "pretrained.model.head.fc.bias". Unexpected key(s)...
hello! the problem is weird   the script does not appear in the list as it is shown in your example. can you help me with this? 
OS: Arch Linux ``` pip install launch The conflict is caused by: launch 0.1.3 depends on flowdas-meta=1.0.1 launch 0.1.2 depends on flowdas-meta=1.0.1 launch 0.1.1 depends on flowdas-meta=1.0.1 launch 0.1.0 depends...
Good day. When executing the script I get an error  model dpt_beit_large_512 AttributeError: 'Block' object has no attribute 'drop_path'
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 script Depth aware img2img mask does not work, gives the following error TypeError: argument of - type 'NoneType' is not iterable. Why can such an error occur?
I used the script a few days ago on colab pro with no problem. Today I can't get it to work. Maybe it has something to do with [this Midas...

File "I:\SD\sd-webui-aki-v4\modules\img2img.py", line 170, in img2img processed = modules.scripts.scripts_img2img.run(p, *args) File "I:\SD\sd-webui-aki-v4\modules\scripts.py", line 407, in run processed = script.run(p, *script_args) File "I:\SD\sd-webui-aki-v4\extensions\depthmap2mask\scripts\depth2image_depthmask.py", line 97, in run d_m = sdmg.calculate_depth_maps(p.init_images[0],img_x,img_y,model_type,invert_depth) File...
Im getting this error after installing this extension in Stable Diffusion, any1 know how to fix this? Error loading script: depthmap_for_depth2img.py Traceback (most recent call last): File "C:\A1111 Web UI...