Anomaly_Prediction icon indicating copy to clipboard operation
Anomaly_Prediction copied to clipboard

怎么去改变提取的预测帧数呢?

Open TPF0628 opened this issue 7 months ago • 0 comments

对于我自己的数据集我想要修改为输入10帧,通过前9帧来预测下一帧图片。但是在Dataset中修改了 self.clip_length = 10 random_seq = list(range(len(all_imgs) - 9))之后训练运行到640轮都会报一个错误 IndexError: list index out of range 具体发生在 video_clip.append(np_load_frame(one_folder[i], self.img_h, self.img_w)) 通过打印信息应该是取到的start超过了范围。 请问我该怎么解决呢?

TPF0628 avatar Jul 25 '24 02:07 TPF0628