in sample.py [0:0]
def load_homography(video_path, homography_path, seq_length):
homography = []
h = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0] * 15;
homography.append(h)
for i in range(seq_length-1):
file = open(os.path.join(video_path, homography_path, "h" + str(i) + ".txt"))
h = file.read().split()
h = map(float, h)
homography.append(h)
homography = torch.Tensor(homography)
return homography