Open Roguefromearth opened 1 year ago
On which platform are you launching the webui with the extension? Windows 11 Pro - 22621.1848
Just chiming in to say that I am also having this same issue.
If I am understanding this correctly, it seems that Deforum is expecting to find a set of weights from Control Net, when I don't even have that extension installed.
For now, installing the Control Net extension seems to fix the issue. But if you don't have it installed, you get this error when attempting to generate anything at all.
Просто вмешиваюсь, чтобы сказать, что у меня тоже такая же проблема.
Если я правильно понимаю, кажется, что Дефорум ожидает найти набор весов из Control Net, когда у меня даже не установлено это расширение.
На данный момент установка расширения Control Net, похоже, решает проблему. Но если он у вас не установлен, вы получите эту ошибку при попытке вообще что-либо сгенерировать.
Где загрузить это расширение?
Same problem here...
When I turn change "Stable Diffusion backend" to "original", it crashes on loading the SDXL base model and also does not load the sd-webui-controlnet extensions, but gives no error.
ERROR Error loading model weights: /home/jw/store/src/automatic/models/Stable-diffusion/sd_xl_base_0.9.safetensors Error(s) in loading state_dict for LatentDiffusion:
When I turn change "Stable Diffusion backend" to "diffusers", it does not crash on loading base model, but also gives an error:
WARNING Diffusers disabling uncompatible extension: sd-webui-controlnet
And it appears as though controlnet is required to avoid the " object has no attribute 'cn_1_weight'
" error.
I confirm that installing the controlnet extension fixes the issue. The dependency issue should probably be dealt with though...
Just chiming in to say that I am also having this same issue.
If I am understanding this correctly, it seems that Deforum is expecting to find a set of weights from Control Net, when I don't even have that extension installed.
For now, installing the Control Net extension seems to fix the issue. But if you don't have it installed, you get this error when attempting to generate anything at all.
i even cannot install controlnet, and i think the latest deforum version has serious bugs
deforum has been upgraded thus bringing lots of troubles
continuo con esto ,alguno pudo solucionarlo para deforum?
Error: ''types.SimpleNamespace' object has no attribute 'cn_1_weight''. Check your schedules/ init values please. Also make sure you don't have a backwards slash in any of your PATHs - use / instead of . Full error message is in your terminal/ cli.
Same error here
need to install controlnet even if not used.
same problem( however I have ControlNet in installed extensions. But if it is activated, then the deforum does not work - the corresponding tab does not even appear in the interface. Then I've deactivated ControlNet and now I have this error // :c
i have same error bro :(
same problem( however I have ControlNet in installed extensions. But if it is activated, then the deforum does not work - the corresponding tab does not even appear in the interface. Then I've deactivated ControlNet and now I have this error // :c
@nekipelova @BangPobs have you tried fresh install? I had this issue before that Deforum tab disappeared. Or install CN first then Deforum.
This might help if you running notebooks or follow similar commands if local, works for me and SDXL compatible too: https://github.com/camenduru/it-keeps-disconnecting
oky, now i can
@nekipelova @BangPobs have you tried fresh install? I had this issue before that Deforum tab disappeared. Or install CN first then Deforum.
This might help if you running notebooks or follow similar commands if local, works for me and SDXL compatible too: https://github.com/camenduru/it-keeps-disconnecting
i have installed controlnet ,but it doesn't appear under Deforum option. it comes up with "ControlNet not found. Please install it :)" .When I click generate ,the same error occurs! However ,ContolNet works well in txt2img or img2img option.
Solution -> You need control net plugin also for deforum to run.
to solve
go to Extensions page -> click install from url -> add this url -> https://github.com/Mikubill/sd-webui-controlnet -> click install -> restart and enjoy
Hi, I just had the same error message but on unit 6. This is a similar issue so I let it here just in case : you need to check in your settings "Multi-ControlNet: ControlNet unit number". Deforum has a maximum of 5 units, so if it's setted at 6 (for example), Deforum will not render because it's searching the missing one. Setting it back to 5 fixed it! :)
Solution -> You need control net plugin also for deforum to run.
to solve
go to Extensions page -> click install from url -> add this url -> https://github.com/Mikubill/sd-webui-controlnet -> click install -> restart and enjoy
i did this and still having the same issue, "ControlNet not found, please install it :)" also trying to generate one gives me the error of 'types.SimpleNamespace ....'
i have installed controlnet ,but it doesn't appear under Deforum option. it comes up with "ControlNet not found. Please install it :)" .When I click generate ,the same error occurs! However ,ContolNet works well in txt2img or img2img option.
have you found a solution to this?
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?
Cannot generate anything using Deforum. I get
Steps to reproduce the problem
What should have happened/how would you fix it?
The error message provided indicates that there is an attempt to access an attribute named cn_1_weight in a types.SimpleNamespace object, but this attribute does not exist. This error is likely caused by a typo or a missing initialization of the attribute in the code. To resolve this issue, maybe: Check the code where the script is initializing the types.SimpleNamespace object and ensure that the cn_1_weight attribute is properly initialized. Verify that there are no typos in the attribute name when accessing it in the code.
Torch version
torch: 2.0.0+cu118
On which platform are you launching the webui with the extension?
No response
Deforum settings
{ "W": 720, "H": 1280, "show_info_on_ui": true, "tiling": false, "restore_faces": false, "seed_resize_from_w": 0, "seed_resize_from_h": 0, "seed": -1, "sampler": "DPM++ SDE Karras", "steps": 25, "batchname": "Deforum{timestring}", "seed_behavior": "iter", "seed_iter_N": 1, "use_init": true, "strength": 0.8, "strength_0_no_init": true, "init_image": "D:\A1111 Web UI Autoinstaller\Stable.jpg", "use_mask": false, "use_alpha_as_mask": false, "mask_file": "https://deforum.github.io/a1/M1.jpg", "invert_mask": false, "mask_contrast_adjust": 1.0, "mask_brightness_adjust": 1.0, "overlay_mask": true, "mask_overlay_blur": 4, "fill": 1, "full_res_mask": true, "full_res_mask_padding": 4, "reroll_blank_frames": "reroll", "reroll_patience": 10.0, "prompts": { "0": "masterpiece, A super powerful football player, showing immense strength, kicks a ball with tremendous force on a futuristic stadium. The scene is filled with energy and excitement as cheering fans surround the player. The lighting is vibrant, with dynamic colors illuminating the atmosphere. The artwork is in the style of Banksy, resembling a graffiti mural created with spray paint on a concrete wall. The colors used are bold and contrasting, creating a visually captivating composition.", "30": "masterpiece, A super powerful football player, scoring an incredible goal in a stadium filled with fans, vibrant lighting, graffiti art style, spray paint on concrete, bold and contrasting colors. (Best quality:1.5, masterpiece:1.5). ", "60": "A super powerful football player, leaping in mid-air for a header, surrounded by a majestic landscape, soft golden lighting, realistic art style, oil painting on canvas, warm and earthy tones. (Best quality:1.5, masterpiece:1.5). ", "90": "A super powerful football player, tackling opponents with strength and agility, set in a futuristic cityscape, neon lighting, cyberpunk art style, digital painting, cool tones with pops of vibrant colors. (Best quality:1.5, masterpiece:1.5).", "150": "A super powerful football player, scoring a goal, on a vibrant stadium field, surrounded by enthusiastic fans, under neon lights, with an urban graffiti art style, using spray paint on a concrete wall, creating a dynamic mural. (Best quality:1.5, masterpiece:1.5).", "240": "A super powerful football player, dribbling the ball, in a futuristic stadium, with a panoramic view of a cityscape, lit by a dramatic sunset, showcasing an impressionist art style, reminiscent of Monet's paintings, using oil on canvas, capturing the energy and motion of the player. (Best quality:1.5, masterpiece:1.5).", "350": "A super powerful football player, leaping in the air, in a magical enchanted forest, surrounded by mystical creatures, illuminated by soft moonlight, depicted in a fantasy art style inspired by artists like Alan Lee, using watercolor and ink, creating an ethereal and enchanting scene. (Best quality:1.5, masterpiece:1.5).", "480": "A magical football player, casting spells while playing, in a mystical stadium surrounded by floating orbs, bathed in enchanting moonlight, with a surreal art style reminiscent of Salvador Dalí's work, using acrylic paints on canvas, creating a dreamlike composition. (Best quality:1.5, masterpiece:1.5)." }, "animation_prompts_positive": "", "animation_prompts_negative": "nsfw, nude, Cropped image, out of frame, draft, distorted face, poorly drawn hands, blurry, low-res, bad anatomy, grainy, beginner, amateur, watermark, cut off, underexposed, overexposed.", "animation_mode": "3D", "max_frames": 150, "border": "wrap", "angle": "0:(0)", "zoom": "0:(1.0025+0.002sin(1.253.14t/30))", "translation_x": "0:(0), 30:(15), 210:(15), 300:(0)", "translation_y": "0:(0.2), 60:(10), 300:(15)", "translation_z": "0:(1.75)", "transform_center_x": "0:(0.5)", "transform_center_y": "0:(0.5)", "rotation_3d_x": "0:(0), 60:(0), 90:(0.5), 180:(0.5), 300:(0.5)", "rotation_3d_y": "0:(0), 30:(-3.5), 90:(-2.5), 180:(-2.8), 300:(-2), 420:(0)", "rotation_3d_z": "0:(0), 60:(0.2), 90:(0), 180:(-0.5), 300:(0), 420:(0.5), 500:(0.8)", "enable_perspective_flip": false, "perspective_flip_theta": "0:(0)", "perspective_flip_phi": "0:(0)", "perspective_flip_gamma": "0:(0)", "perspective_flip_fv": "0:(53)", "noise_schedule": "0:(-0.06(cos(3.141*t/15)*100)+0.06)", "strength_schedule": "0: (0.65), 25: (0.55)", "contrast_schedule": "0: (1.0)", "cfg_scale_schedule": "0: (7)", "enable_steps_scheduling": false, "steps_schedule": "0: (25)", "fov_schedule": "0: (120)", "aspect_ratio_schedule": "0: (1)", "aspect_ratio_use_old_formula": false, "near_schedule": "0: (200)", "far_schedule": "0: (10000)", "seed_schedule": "0:(s), 1:(-1), \"max_f-2\":(-1), \"max_f-1\":(s)", "pix2pix_img_cfg_scale_schedule": "0:(1.5)", "enable_subseed_scheduling": false, "subseed_schedule": "0:(1)", "subseed_strength_schedule": "0:(0)", "enable_sampler_scheduling": false, "sampler_schedule": "0: (\"Euler a\")", "use_noise_mask": false, "mask_schedule": "0: (\"{video_mask}\")", "noise_mask_schedule": "0: (\"{video_mask}\")", "enable_checkpoint_scheduling": false, "checkpoint_schedule": "0: (\"model1.ckpt\"), 100: (\"model2.safetensors\")", "enable_clipskip_scheduling": false, "clipskip_schedule": "0: (2)", "enable_noise_multiplier_scheduling": true, "noise_multiplier_schedule": "0: (1.05)", "resume_from_timestring": false, "resume_timestring": null, "enable_ddim_eta_scheduling": false, "ddim_eta_schedule": "0:(0)", "enable_ancestral_eta_scheduling": false, "ancestral_eta_schedule": "0:(1)", "amount_schedule": "0: (0.05)", "kernel_schedule": "0: (5)", "sigma_schedule": "0: (1.0)", "threshold_schedule": "0: (0.0)", "color_coherence": "LAB", "color_coherence_image_path": "", "color_coherence_video_every_N_frames": 1, "color_force_grayscale": false, "legacy_colormatch": true, "diffusion_cadence": "2", "optical_flow_cadence": "None", "cadence_flow_factor_schedule": "0: (1)", "optical_flow_redo_generation": "None", "redo_flow_factor_schedule": "0: (1)", "diffusion_redo": "0", "noise_type": "perlin", "perlin_octaves": 4, "perlin_persistence": 0.5, "use_depth_warping": true, "depth_algorithm": "Midas-3-Hybrid", "midas_weight": 0.2, "padding_mode": "border", "sampling_mode": "bicubic", "save_depth_maps": false, "video_init_path": "https://deforum.github.io/a1/V1.mp4", "extract_nth_frame": 1, "extract_from_frame": 0, "extract_to_frame": -1, "overwrite_extracted_frames": false, "use_mask_video": false, "video_mask_path": "https://deforum.github.io/a1/VM1.mp4", "hybrid_comp_alpha_schedule": "0:(0.5)", "hybrid_comp_mask_blend_alpha_schedule": "0:(0.5)", "hybrid_comp_mask_contrast_schedule": "0:(1)", "hybrid_comp_mask_auto_contrast_cutoff_high_schedule": "0:(100)", "hybrid_comp_mask_auto_contrast_cutoff_low_schedule": "0:(0)", "hybrid_flow_factor_schedule": "0:(1)", "hybrid_generate_inputframes": false, "hybrid_generate_human_masks": "None", "hybrid_use_first_frame_as_init_image": true, "hybrid_motion": "None", "hybrid_motion_use_prev_img": false, "hybrid_flow_consistency": false, "hybrid_consistency_blur": 2, "hybrid_flow_method": "RAFT", "hybrid_composite": "None", "hybrid_use_init_image": false, "hybrid_comp_mask_type": "None", "hybrid_comp_mask_inverse": false, "hybrid_comp_mask_equalize": "None", "hybrid_comp_mask_auto_contrast": false, "hybrid_comp_save_extra_frames": false, "parseq_manifest": null, "parseq_use_deltas": true, "use_looper": false, "init_images": "{\n \"0\": \"https://deforum.github.io/a1/Gi1.png\",\n \"max_f/4-5\": \"https://deforum.github.io/a1/Gi2.png\",\n \"max_f/2-10\": \"https://deforum.github.io/a1/Gi3.png\",\n \"3max_f/4-15\": \"https://deforum.github.io/a1/Gi4.jpg\",\n \"max_f-20\": \"https://deforum.github.io/a1/Gi1.png\"\n}", "image_strength_schedule": "0:(0.75)", "blendFactorMax": "0:(0.35)", "blendFactorSlope": "0:(0.25)", "tweening_frames_schedule": "0:(20)", "color_correction_factor": "0:(0.075)", "skip_video_creation": false, "fps": 15, "make_gif": false, "delete_imgs": false, "add_soundtrack": "None", "soundtrack_path": "https://deforum.github.io/a1/A1.mp3", "r_upscale_video": false, "r_upscale_factor": "x2", "r_upscale_model": "realesr-animevideov3", "r_upscale_keep_imgs": true, "store_frames_in_ram": false, "frame_interpolation_engine": "None", "frame_interpolation_x_amount": 2, "frame_interpolation_slow_mo_enabled": false, "frame_interpolation_slow_mo_amount": 2, "frame_interpolation_keep_imgs": false, "frame_interpolation_use_upscaled": false, "sd_model_name": "revAnimated_v122.safetensors", "sd_model_hash": "3f4fefd9", "deforum_git_commit_id": "858c4dd6" }
Webui core settings
https://drive.google.com/file/d/1VVA5BK-xmpfbpaz-FTXY39Yob47p_8H0/view?usp=sharing
Console logs
Additional information
No response