modelscope / DiffSynth-Studio

Enjoy the magic of Diffusion models!
Apache License 2.0
6.59k stars 600 forks source link

突然無法使用了 #28

Open Cooper0607 opened 7 months ago

Cooper0607 commented 7 months ago

IndexError: 150 Traceback: File "D:\DiffSynth-Studio.glut\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script exec(code, module.dict) File "D:\DiffSynth-Studio\pages\2_Video_Creator.py", line 197, in SDVideoPipelineRunner(in_streamlit=True).run(config) File "D:\DiffSynth-Studio\diffsynth\pipelines\stable_diffusion_video.py", line 337, in run config["pipeline"]["pipeline_inputs"] = self.add_data_to_pipeline_inputs(config["data"], config["pipeline"]["pipeline_inputs"]) File "D:\DiffSynth-Studio\diffsynth\pipelines\stable_diffusion_video.py", line 315, in add_data_to_pipeline_inputs pipeline_inputs["input_frames"] = self.load_video(**data["input_frames"]) File "D:\DiffSynth-Studio\diffsynth\pipelines\stable_diffusion_video.py", line 310, in load_video frames = [video[i] for i in range(start_frame_id, end_frame_id)] File "D:\DiffSynth-Studio\diffsynth\pipelines\stable_diffusion_video.py", line 310, in frames = [video[i] for i in range(start_frame_id, end_frame_id)] File "D:\DiffSynth-Studio\diffsynth\data\video.py", line 121, in getitem frame = self.data.getitem(item) File "D:\DiffSynth-Studio\diffsynth\data\video.py", line 15, in getitem return Image.fromarray(np.array(self.reader.get_data(item))).convert("RGB") File "D:\DiffSynth-Studio.glut\lib\site-packages\imageio\core\format.py", line 437, in get_data raise IndexError(index)

Artiprocher commented 7 months ago

Maybe the input video contains less than 150 frames. Please check it.

Cooper0607 commented 7 months ago

謝謝 我重新使用一個10秒的影片 可以運作了