Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'get' #477

Open
HLTZ opened this issue Dec 17, 2024 · 0 comments
Open

'NoneType' object has no attribute 'get' #477

HLTZ opened this issue Dec 17, 2024 · 0 comments

Comments

@HLTZ
Copy link

HLTZ commented Dec 17, 2024

Traceback (most recent call last):
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 550, in run_generate
input_i, type, result = next(gen_obj)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 329, in core_generation_funnel
raise e
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 130, in core_generation_funnel
model_holder.ensure_models(inp[go.MODEL_TYPE], device, inp[go.BOOST], inp[go.TILING_MODE])
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 73, in ensure_models
self.load_models(model_type, device, boost, tiling_mode)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 199, in load_models
model = build_model(conf)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\builder.py", line 51, in build_model
return get_version(config.version_name).build_from_config(config)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\zoedepth\zoedepth_v1.py", line 250, in build_from_config
return ZoeDepth.build(**config)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\zoedepth\zoedepth_v1.py", line 245, in build
model = load_state_from_resource(model, pretrained_resource)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\model_io.py", line 84, in load_state_from_resource
return load_state_dict_from_url(model, url, progress=True)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\model_io.py", line 61, in load_state_dict_from_url
return load_state_dict(model, state_dict)
File "D:\sd-webui-aki-v4.4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\model_io.py", line 34, in load_state_dict
state_dict = state_dict.get('model', state_dict)
AttributeError: 'NoneType' object has no attribute 'get'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant