Skip to content

Commit

Permalink
chore: remove redundant words in comment (#3544)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
clonefetch and akristoffersen authored Dec 22, 2024
1 parent 555d554 commit 14f1d4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/developer_guides/viewer/local_viewer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# (Legacy Viewer) Local Server

**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.
**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.

---

Expand Down
2 changes: 1 addition & 1 deletion nerfstudio/data/utils/pixel_sampling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


def dilate(tensor: Float[Tensor, "bs 1 H W"], kernel_size=3) -> Float[Tensor, "bs 1 H W"]:
"""Dilate a tensor with 0s and 1s. 0s will be be expanded based on the kernel size.
"""Dilate a tensor with 0s and 1s. 0s will be expanded based on the kernel size.
Args:
kernel_size: Size of the pooling region. Dilates/contracts 1 pixel if kernel_size is 3.
Expand Down
2 changes: 1 addition & 1 deletion nerfstudio/utils/tensor_dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def _apply_fn_to_fields(
) -> TensorDataclassT:
"""Applies a function to all fields of the tensor dataclass.
TODO: Someone needs to make a high level design choice for whether not not we want this
TODO: Someone needs to make a high level design choice for whether or not we want this
to apply the function to any fields in arbitray superclasses. This is an edge case until we
upgrade to python 3.10 and dataclasses can actually be subclassed with vanilla python and no
janking, but if people try to jank some subclasses that are grandchildren of TensorDataclass
Expand Down

0 comments on commit 14f1d4e

Please sign in to comment.