Skip to content

Commit 14f1d4e

Browse files
chore: remove redundant words in comment (#3544)
* chore: remove redundant words in comment Signed-off-by: clonefetch <[email protected]> * small typo change --------- Signed-off-by: clonefetch <[email protected]> Co-authored-by: Alexander Kristoffersen <[email protected]>
1 parent 555d554 commit 14f1d4e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/developer_guides/viewer/local_viewer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# (Legacy Viewer) Local Server
22

3-
**Note:** this doc only applies to the legacy version of the viewer, which was the default in in Nerfstudio versions `<=0.3.4`. It was deprecated starting Nerfstudio version `1.0.0`, where it needs to be opted into via the `--vis viewer_legacy` argument.
3+
**Note:** this doc only applies to the legacy version of the viewer, which was the default in Nerfstudio versions `<=0.3.4`. It was deprecated starting Nerfstudio version `1.0.0`, where it needs to be opted into via the `--vis viewer_legacy` argument.
44

55
---
66

nerfstudio/data/utils/pixel_sampling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
def dilate(tensor: Float[Tensor, "bs 1 H W"], kernel_size=3) -> Float[Tensor, "bs 1 H W"]:
26-
"""Dilate a tensor with 0s and 1s. 0s will be be expanded based on the kernel size.
26+
"""Dilate a tensor with 0s and 1s. 0s will be expanded based on the kernel size.
2727
2828
Args:
2929
kernel_size: Size of the pooling region. Dilates/contracts 1 pixel if kernel_size is 3.

nerfstudio/utils/tensor_dataclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _apply_fn_to_fields(
280280
) -> TensorDataclassT:
281281
"""Applies a function to all fields of the tensor dataclass.
282282
283-
TODO: Someone needs to make a high level design choice for whether not not we want this
283+
TODO: Someone needs to make a high level design choice for whether or not we want this
284284
to apply the function to any fields in arbitray superclasses. This is an edge case until we
285285
upgrade to python 3.10 and dataclasses can actually be subclassed with vanilla python and no
286286
janking, but if people try to jank some subclasses that are grandchildren of TensorDataclass

0 commit comments

Comments
 (0)