Closed MoreColors123 closed 11 months ago
Try saving rife intermediates? 🤔 And, If more traceback context could be provided... take some screenshots is nice
No that wasn't it. Tried again but
Do you have any idea? I'm not sure what the difference that option makes anyway ;)
Here is the command line output if it helps:
n_stages: 3 n_frames: 7 steps: [2, 2] seed: 2429929118 subseed: -1.0 subseed_strength: 0 Loading model: control_v11p_sd15_canny [d14c016b] Loaded state_dict from [C:\programs\automatic\extensions-builtin\sd-webui-controlnet\models\control_v11p_sd15_canny.pth] Loading config: C:\programs\automatic\extensions-builtin\sd-webui-controlnet\models\control_v11p_sd15_canny.yaml ControlNet model control_v11p_sd15_canny [d14c016b] loaded. Loading preprocessor: canny preprocessor resolution = 512 Progress 2.96it/s ---------------------------------------- 100% 0:00:00 0:00:03 Loading model from cache: control_v11p_sd15_canny [d14c016b] Loading preprocessor: canny preprocessor resolution = 512 Progress 3.0it/s ---------------------------------------- 100% 0:00:00 0:00:03 [exec] rife-ncnn-vulkan -m rife-v4 -s 0.3333333333333333 -0 "outputs\text\prompt_travel\00018\ctrl_cond\0-0.png" -1 "outputs\text\prompt_travel\00018\ctrl_cond\1-0.png" -o "outputs\text\prompt_travel\00018\ctrl_cond\0-1-0.333.png" invalid timestep argument, must be 0~1 [Mem] rss: 3.728 GB, vms: 8.262 GB [VRAM] free: 7.825 GB, total: 12.000 GB gradio call: FileNotFoundError ┌───────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────┐ │ C:\programs\automatic\modules\call_queue.py:58 in f │ │ │ │ 57 │ │ │ │ pr.enable() │ │ > 58 │ │ │ res = list(func(*args, *kwargs)) │ │ 59 │ │ │ if shared.cmd_opts.profile: │ │ │ │ C:\programs\automatic\modules\call_queue.py:38 in f │ │ │ │ 37 │ │ │ try: │ │ > 38 │ │ │ │ res = func(args, **kwargs) │ │ 39 │ │ │ finally: │ │ │ │ ... 4 frames hidden ... │ │ │ │ C:\programs\automatic\extensions\stable-diffusion-webui-prompt-travel\scripts\controlnet_travel.py:497 in rife_interp │ │ │ │ 496 │ │ │ assert run_cmd(f'rife-ncnn-vulkan -m rife-v4 -s {alpha} -0 "{fp0}" -1 "{fp1} │ │ > 497 │ │ │ x = torch.fromnumpy(np.asarray(Image.open(fpo)) / 255.0) │ │ 498 │ │ │ if len(x.shape) == 2: x = x.unsqueeze(0) # [H, W] => [C=1, H, │ │ │ │ C:\programs\automatic\venv\lib\site-packages\PIL\Image.py:3236 in open │ │ │ │ 3235 │ if filename: │ │ > 3236 │ │ fp = builtins.open(filename, "rb") │ │ 3237 │ │ exclusive_fp = True │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ FileNotFoundError: [Errno 2] No such file or directory: 'C:\programs\automatic\outputs\text\prompt_travel\00018\ctrl_cond\0-1-0.333.png'
Ok, now I see the key error is invalid timestep argument, must be 0~1
, but here -s 0.3333333333333333
.
So it might be a float parsing precision issue of the console. Let me have a local test.
I'm using windows, and this command line runs successfully here. Are you running other os?
The other interpolate method works, but not the rife one. At first it makes the ctrl_cond folder with the files and then i get FileNotFoundError: [Errno 2] No such file or directory: 'C:\programs\automatic\outputs\text\prompt_travel\00013\ctrl_cond\tmp.png'