-
-
Notifications
You must be signed in to change notification settings - Fork 398
FAQ & Troubleshooting
My output imgs look completely different to each other, like it's doing pure txt2img and not img2img
- Go to your webui settings --> look for this setting, and make sure it's not checked:
- The social media platforms are compressing the uploaded videos, so if you upload one (at low res), it will be compressed even further resulting in the unrecognizable goo. To prevent it, please upscale the videos at least 'x2' in the Output tab before posting anywhere except for Discord.
While we try our best to keep up with the latest CN updates, Deforum is not responsible for the ControlNet extension. Please, report the bugs here instead https://github.com/Mikubill/sd-webui-controlnet/Issues !
- If you got the
AttributeError: 'NoneType' object has no attribute 'get'
, it means that one of the 3D model files is either missing, or downloaded only partially. The fix is to manually download the models again, and putting both of them in the/models/Deforum
folder.
- Download AdaBins_nyu.pt from here
- Download dpt_large-midas-2f21e586.pt from here
- You have a missing comma (,) after one of your prompts. Make sure all of the prompts EXCEPT for the last one have a trailing comma after them.
- Should look like this:
{"0": "Cool prompt at frame 0","60": "Cool prompt at frame 60","80": "Cool prompt at frame 80","100": "Cool prompt at frame 100"}
and NOT like this (note the missing comma after the second prompt):
{"0": "Cool prompt at frame 0","60": "Cool prompt at frame 60" "80": "Cool prompt at frame 80","100": "Cool prompt at frame 100"}
Like this:
- Most likely, is was caused by setting the 'Seed behaviour' to 'Fixed'. If the seed is the same, denoising doesn't happen and the image gets covered with noise over time. Please, don't use this option unless you know what you're doing. For beginners, it's better to use any other seed behavior, the simplest is 'Iter'.
Like this:
Or:
-
There are two main ways of fixing it: either lowering the
strength schedule
or heightening thenoise multiplier schedule
. -
These values are a good rule of thumb, but be cautious when mixing them together
-
Strength schedule:
0:(0.25 * cos((72 / 60 * 3.141 * (t + 0) / 30))**13 + 0.7)
Example of strength drop:
- Noise multiplier:
0: (1.07-(abs(sin(2*3.14*t/5+0))*0.02))
Example of increased noise multiplier:
Like this:
- Lower Anti-Blur's
amount_schedule
ornoise multiplier schedule
if you have it enabled.
Deforum crashes with KeyError after I press 'Generate'. It seems it is related to the keyframes you added recently.
File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/animation_key_frames.py", line 9, in __init__
self.angle_series = get_inbetweens(parse_key_frames(anim_args.angle), anim_args.max_frames)
File "/home/kabachuha/kml/kek/stable-diffusion-webui/extensions/deforum/scripts/deforum_helpers/animation_key_frames.py", line 79, in get_inbetweens
key_frame_series[0] = key_frame_series[key_frame_series.first_valid_index()]
File "/home/kabachuha/.local/lib/python3.8/site-packages/pandas/core/series.py", line 982, in __getitem__
return self._get_value(key)
File "/home/kabachuha/.local/lib/python3.8/site-packages/pandas/core/series.py", line 1092, in _get_value
loc = self.index.get_loc(label)
File "/home/kabachuha/.local/lib/python3.8/site-packages/pandas/core/indexes/range.py", line 396, in get_loc
raise KeyError(key)
KeyError: None
- Go to webui's core folder and remove ui-config.json. This action will clear the cache and it often solves this issue (especially if no one else seems to have it, as each other's cache forms in a different way)
There are two main ways to do so:
- Use the 'Guided images' mode in the extension.
- Interpolate the pics using a frame interpolation engine in the 'Output' tab.
The 'Guided images' mode slowly blends in the target images into the usual Deforum animation process using a complicated math formula, before the diffusion starts to remake the images. This way the images 'guide' the AI to morph the frames being made towards the intended shapes.
Frames used:
There are two main interpolation engines: RIFE and FILM. FILM is slower and demands more resources, but it's worth it.
Insert the pics or a video into the output tab, select the needed settings and interpolate the pics of your choice, even not AI-generated!
Frames used:
Naturally, interpolate your video before upscaling or else it will take a ton of time.
This is a known issue with no known fix as of January 19th 2023. Please wait for a fix. Issue can be tracked Fixed with an update of the core auto. If you have the issue, upgrade your webui.
- There was a button that at most, fixed the very first frame of the animation. The way highres fix works is not really suitable for keeping coherency in animation, sadly. You can always batch-upscale after your deforum run in webui's 'extra' --> 'batch' tab. Or better use Deforum's internal upscalers in the Output tab.
File "C:\Users\kabachuha\stable-diffusion-webui\venv\lib\site-packages\torch\serialization.py", line 997, in load_tensor
storage = zip_file.get_storage_from_record(name, numel, torch._UntypedStorage).storage()._untyped()
PermissionError: [Errno 13] Permission denied
- Go to your models folder, it's usually located at '\stable-diffusion-webui\models\Stable-diffusion', select the problematic file and right click it, open Properties. You'll probably see in the bottom something like this
Warning: This file has been received from an another computer and was locked to protect the computer - [] Unlock
. Click 'Unlock'. The message will disappear and the weights should load fine after that. You may need to restart the webui to clear the cache.