If past_frames are a video instead of repeating initial_image
Hello, thank you for your great work! I noticed that
if self.args.num_pre_frames > 0:
past_frames = initial_image.repeat(self.args.num_pre_frames, 1, 1, 1)
initial_image = torch.cat([initial_image, past_frames], dim=0)
in inference_bench.py, which means past_frames are all identical to the initial_image. If I want to use the model in autoregressive manner, which means past_frames are from a generated video clip (i.e. not totally identical), what kind of past_frames and initial_image should I input?
Thank you!
@snowflakewang If you want to use the model in autoregressive manner, past_frame should consist of the last five frames from the generated video.
@snowflakewang If you want to use the model in autoregressive manner, past_frame should consist of the last five frames from the generated video.
Thank you for your response! If I use the last 5 frames from a generated video, then what initial_image I should use?
Use the last frame as the initial_image, and the five frames preceding the initial_image as past frames.
Use the last frame as the initial_image, and the five frames preceding the initial_image as past frames.
Thank you for your quick response! If I understand correctly, [-6, -5, -4, -3, -2] should be past_frames, [-1] should be initial_image?