fix large number of typos in repository (#1977)

* fix large number of typos in repository

* fix typos in tests
This commit is contained in:
Milan van Wouden authored and GitHub committed 2023-05-23 10:41:49 -07:00
1 parent ccdcc3951e
commit d413ca4204
32 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ def test_tv_loss():
for k in range(10):
grids[0, k, i, j] = grid_location
# TV_row = 1, TV_col = 1. Totol tv should be 2 * (TV_row + TV_col)
# TV_row = 1, TV_col = 1. Total tv should be 2 * (TV_row + TV_col)
assert tv_loss(grids).item() == 4.0
+1 -1
View File
@@ -23,7 +23,7 @@ from nerfstudio.process_data.images_to_nerfstudio_dataset import (
def random_quaternion(num_poses: int):
"""
Generates random rotation quatenion.
Generates random rotation quaternion.
"""
u, v, w = np.random.uniform(size=(3, num_poses))
quaternion = np.stack(
+1 -1
View File
@@ -48,7 +48,7 @@ def _get_random_aabb_box(max_box, device):
def _get_random_rays(num_rays, max_box, aabb, device):
"""
genrate random rays that distribute in the general direction of the box.
generate random rays that distribute in the general direction of the box.
The implementation is naive for now.
:param num_rays:
:param max_box: