diff --git a/scripts/sampling/simple_video_sample.py b/scripts/sampling/simple_video_sample.py index 29a8b8581..dc8ba2100 100644 --- a/scripts/sampling/simple_video_sample.py +++ b/scripts/sampling/simple_video_sample.py @@ -164,6 +164,8 @@ def sample( with Image.open(input_img_path) as image: if image.mode == "RGBA": input_image = image.convert("RGB") + else: + input_image = image.copy() w, h = image.size if h % 64 != 0 or w % 64 != 0: