Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Aug 26, 2024
1 parent 537a517 commit bb0428d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/geodesics/factorized_pyramid.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class FactorizedPyramid(nn.Module):
"""
An non-linear transform which factorizes signal and is exactely invertible.
An non-linear transform which factorizes signal and is exactly invertible.
Loosely partitions things and stuff.
Expand All @@ -33,7 +33,7 @@ class FactorizedPyramid(nn.Module):
eg. from front end, or from recursive calls
hack: fold channels into batch dim and then back out
cross channel processing - thats next level
cross channel processing - that's next level
"""
def __init__(self, image_size, n_ori=4, n_scale='auto',
downsample_dict=True, is_complex=True,
Expand Down
2 changes: 1 addition & 1 deletion src/geodesics/geodesic.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def objective_function(self, geodesic: Optional[Tensor] = None) -> Tensor:
- ``self._most_recent_step_energy = self._calculate_step_energy(self._geodesic_representation)``
These are cached because we might store them (if ``self.store_progress
is True``) and don't want to recalcualte them
is True``) and don't want to recalculate them
Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions src/geodesics/straightness.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def deviation_from_line(sequence: Tensor,
Returns
-------
dist_along_line
sequence of T euclidian distances along the line
sequence of T euclidean distances along the line
dist_from_line
sequence of T euclidian distances to the line
sequence of T euclidean distances to the line
"""
validate_input(sequence)
Expand Down

0 comments on commit bb0428d

Please sign in to comment.