Closed mottzerella closed 6 months ago
Depth Warping in Deforum with 3D animation produces one of a couple errors:
''DepthModel' object has no attribute 'should_delete''
or
Error(s) in loading state_dict for ZoeDepthNK: Unexpected key(s) in state_dict: "core.core.pretrained.model.blocks.0.attn.relative_position_index
No response
torch: 2.0.1+cu118
Other (please specify in "additional information")
deforum_settings_test.txt
config.json
*START OF TRACEBACK* Traceback (most recent call last): File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root) File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/render.py", line 130, in render_animation depth_model = DepthModel(root.models_path, device, root.half_precision, keep_in_vram=keep_in_vram, depth_algorithm=anim_args.depth_algorithm, Width=args.W, Height=args.H, File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/depth.py", line 42, in __new__ model_deleted = cls._instance and cls._instance.should_delete AttributeError: 'DepthModel' object has no attribute 'should_delete' *END OF TRACEBACK* User friendly error message: Error: 'DepthModel' object has no attribute 'should_delete'. Please, check your schedules/ init values. [2024-03-07 05:15:29,479][INFO][modules.shared_state] - Ending job task(mhzzy044wxom727) (0.91 seconds) [2024-03-07 05:51:27,872][INFO][modules.shared_state] - Starting job task(trhmig3gzfxduxg) [2024-03-07 05:51:27,886][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/a1111-sd-webui-locon, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:28,623][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/adetailer, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:29,449][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/deforum, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:30,169][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/infinite-image-browsing, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:30,890][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/inpaint-anything, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:31,636][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/sd-civitai-browser-plus, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:32,349][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/sd-webui-controlnet, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:33,232][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/sd-webui-reactor, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:33,967][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/sd_civitai_extension, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:34,760][DEBUG][git.cmd] - Popen(['git', 'fetch', '-v', '--dry-run', '--', 'origin'], cwd=/workspace/stable-diffusion-webui/extensions/sd_dreambooth_extension, stdin=None, shell=False, universal_newlines=True) [2024-03-07 05:51:35,554][INFO][modules.shared_state] - Ending job task(trhmig3gzfxduxg) (7.68 seconds) [2024-03-07 05:52:43,597][INFO][modules.shared_state] - Starting job task(76l5iw5n4saxva1) started run_deforum times_to_run: 1 [4;33mDeforum extension for auto1111 webui[0m Git commit: 33c0f033 Starting job task(76l5iw5n4saxva1)-0... Saving animation frames to: /workspace/stable-diffusion-webui/output/img2img-images/Deforum_20240307055243 *START OF TRACEBACK* Traceback (most recent call last): File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/run_deforum.py", line 116, in run_deforum render_animation(args, anim_args, video_args, parseq_args, loop_args, controlnet_args, root) File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/render.py", line 130, in render_animation depth_model = DepthModel(root.models_path, device, root.half_precision, keep_in_vram=keep_in_vram, depth_algorithm=anim_args.depth_algorithm, Width=args.W, Height=args.H, File "/workspace/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/depth.py", line 42, in __new__ model_deleted = cls._instance and cls._instance.should_delete AttributeError: 'DepthModel' object has no attribute 'should_delete' *END OF TRACEBACK* User friendly error message: Error: 'DepthModel' object has no attribute 'should_delete'. Please, check your schedules/ init values. [2024-03-07 05:52:44,486][INFO][modules.shared_state] - Ending job task(76l5iw5n4saxva1) (0.89 seconds)
This issue has been closed due to incorrect formatting. Please address the following mistakes and reopen the issue (click on the 'Reopen' button below):
Have you read the latest version of the FAQ?
Is there an existing issue for this?
Are you using the latest version of the Deforum extension?
What happened?
Depth Warping in Deforum with 3D animation produces one of a couple errors:
''DepthModel' object has no attribute 'should_delete''
or
Error(s) in loading state_dict for ZoeDepthNK: Unexpected key(s) in state_dict: "core.core.pretrained.model.blocks.0.attn.relative_position_index
Steps to reproduce the problem
What should have happened/how would you fix it?
No response
Torch version
torch: 2.0.1+cu118
On which platform are you launching the webui with the extension?
Other (please specify in "additional information")
Deforum settings
deforum_settings_test.txt
Webui core settings
config.json
Console logs
Additional information
No response