deforum / deforum/deforum-stable-diffusion
let's revive the deforum
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Description
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[/tmp/ipython-input-1142371746.py](https://localhost:8080/#) in ()
154 # dispatch to appropriate renderer
155 if anim_args.animation_mode == '2D' or anim_args.animation_mode == '3D':
--> 156 render_animation(root, anim_args, args, cond, uncond)
157 elif anim_args.animation_mode == 'Video Input':
158 render_input_video(root, anim_args, args, cond, uncond)
2 frames
[/content/deforum-stable-diffusion/helpers/render.py](https://localhost:8080/#) in render_animation(root, anim_args, args, cond_prompts, uncond_prompts)
442 color_match_sample = prev_img.copy()
443 else:
--> 444 prev_img = maintain_colors(prev_img, color_match_sample, anim_args.color_coherence)
445
446 # intercept and override to grayscale
[/content/deforum-stable-diffusion/helpers/colors.py](https://localhost:8080/#) in maintain_colors(prev_img, color_match_sample, mode)
13 prev_img_lab = cv2.cvtColor(prev_img, cv2.COLOR_RGB2LAB)
14 color_match_lab = cv2.cvtColor(color_match_sample, cv2.COLOR_RGB2LAB)
---> 15 matched_lab = match_histograms(prev_img_lab, color_match_lab, multichannel=True)
16 return cv2.cvtColor(matched_lab, cv2.COLOR_LAB2RGB)
[/usr/local/lib/python3.12/dist-packages/skimage/_shared/utils.py](https://localhost:8080/#) in fixed_func(*args, **kwargs)
436
437 if channel_axis is None:
--> 438 return func(*args, **kwargs)
439
440 # TODO: convert scalars to a tuple in anticipation of eventually
TypeError: match_histograms() got an unexpected keyword argument 'multichannel'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.