Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/deforum_helpers/deforum_controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def read_cn_data(cn_idx):
cn_maskframes = os.path.join(args.outdir, f'controlnet_{cn_idx}_maskframes') # set mask frames folder path
if os.path.exists(cn_maskframes):
if count_files_in_folder(cn_maskframes) == 1:
cn_mask_frame_path = os.path.join(cn_inputframes, "000000000.jpg")
cn_mask_frame_path = os.path.join(cn_maskframes, "000000000.jpg")
print(f'Reading ControlNet *static* mask frame at {cn_mask_frame_path}')
else:
cn_mask_frame_path = os.path.join(args.outdir, f'controlnet_{cn_idx}_maskframes', f"{frame_idx:09}.jpg")
Expand Down
1 change: 0 additions & 1 deletion scripts/deforum_helpers/webui_sd_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def get_webui_sd_pipeline(args, root):
p.subseed_strength = root.subseed_strength
p.seed_resize_from_w = args.seed_resize_from_w
p.seed_resize_from_h = args.seed_resize_from_h
p.fill = args.fill
p.batch_size = 1 # b.size 1 as this is DEFORUM :)
p.seed = args.seed
p.do_not_save_samples = True # Setting this to False will trigger webui's saving mechanism - and we will end up with duplicated files, and another folder within our destination folder - big no no.
Expand Down