GeoTransformer
GeoTransformer copied to clipboard
random_sample_rotation problem
Thanks for your nice work. What is the meaning of the random_sample_rotation function performing the np.linalg.norm(axis) operation? ` def random_sample_rotation_v2() -> np.ndarray: axis = np.random.rand(3) - 0.5 axis = axis / np.linalg.norm(axis) + 1e-8 theta = np.pi * np.random.rand() euler = axis * theta rotation = Rotation.from_euler('zyx', euler).as_matrix() return rotation
`