Hi,
I want to use my loss for images for my video, what im doing is looping over the frames and then call the loss function and summing it up.
there is another way to do it?
this is what i’m doing:
def dist_per_frame(self, frames_real, frames_fake):
rec_loss = 0
for i in range(31):
rec_loss += self.dist_frame(frames_fake[i], frames_real[i])
return rec_loss
**self.dist_frame is my loss function