Closed willjcim closed 1 year ago
scikit-image 0.20.0 scikit-learn 1.2.1
Solved: In deforum-stable-diffusion/helpers/colors.py
Change the following:
return match_histograms(prev_img, color_match_sample, multichannel=True)
-> return match_histograms(prev_img, color_match_sample, channel_axis=-1)
matched_hsv = match_histograms(prev_img_hsv, color_match_hsv, multichannel=True)
-> matched_hsv = match_histograms(prev_img_hsv, color_match_hsv, channel_axis=-1)
matched_lab = match_histograms(prev_img_lab, color_match_lab, multichannel=True)
-> matched_lab = match_histograms(prev_img_lab, color_match_lab, channel_axis=-1)
Will add a pull request shortly
matched_lab = match_histograms(prev_img_lab, color_match_lab, channel_axis=-1)
Thank you!