This commit is contained in:
Thang Vu 2022-04-15 05:37:01 +00:00
parent efe2ddb6b1
commit 3b39cc3bf1

View File

@ -97,7 +97,7 @@ class CustomDataset(Dataset):
[-math.sin(theta), math.cos(theta), 0], [0, 0, 1]]) [-math.sin(theta), math.cos(theta), 0], [0, 0, 1]])
else: else:
# Empirically, slightly rotate the scene can match the results from checkpoint # Empirically, slightly rotate the scene can match the results from checkpoint
theta = 0.45 * math.pi theta = 0.35 * math.pi
m = np.matmul(m, [[math.cos(theta), math.sin(theta), 0], m = np.matmul(m, [[math.cos(theta), math.sin(theta), 0],
[-math.sin(theta), math.cos(theta), 0], [0, 0, 1]]) [-math.sin(theta), math.cos(theta), 0], [0, 0, 1]])