Skip to content

Commit 9d27837

Browse files
committed
Fixed typos
1 parent 0003047 commit 9d27837

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/basic_usage.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"id": "KyZq008jL64p"
3737
},
3838
"source": [
39-
"## Clone repo and install dependancies"
39+
"## Install dependencies"
4040
]
4141
},
4242
{
@@ -104,7 +104,7 @@
104104
"id": "F1YUWHeWMDet"
105105
},
106106
"source": [
107-
"## Initialize SemEO class"
107+
"## Initialize SamGeo class"
108108
]
109109
},
110110
{
@@ -115,15 +115,15 @@
115115
},
116116
"outputs": [],
117117
"source": [
118-
"# Availble SamGeo arguments:\n",
118+
"# Available SamGeo arguments:\n",
119119
"# checkpoint=\"sam_vit_h_4b8939.pth\",\n",
120120
"# model_type='vit_h',\n",
121121
"# device='cpu',\n",
122122
"# erosion_kernel=(3, 3),\n",
123123
"# mask_multiplier=255,\n",
124124
"# sam_kwargs=None\n",
125125
"\n",
126-
"# Availble sam_kwargs:\n",
126+
"# Available sam_kwargs:\n",
127127
"# points_per_side: Optional[int] = 32,\n",
128128
"# points_per_batch: int = 64,\n",
129129
"# pred_iou_thresh: float = 0.88,\n",
@@ -154,7 +154,7 @@
154154
"id": "rBYMot8KMLMk"
155155
},
156156
"source": [
157-
"## Download file from Openaerialmap and save it"
157+
"## Download file from OpenAerialMap and save it"
158158
]
159159
},
160160
{

samgeo/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,14 +487,14 @@ def tiff_to_tiff(
487487
uint8_rgb_in, resize_hw, interpolation=cv2.INTER_LINEAR
488488
)
489489

490-
# Do someting
490+
# Do something
491491
uin8_out = func(uint8_rgb_in)
492492

493493
if resize_hw is not None:
494494
uin8_out = cv2.resize(
495495
uin8_out, orig_size, interpolation=cv2.INTER_NEAREST
496496
)
497-
# Zero chennel, becouse
497+
# Zero channel, because
498498
write_block(dst, uin8_out, **b)
499499

500500

samgeo/samgeo.py

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

1515
from .common import *
1616

17-
# Availble sam_kwargs:
17+
# Available sam_kwargs:
1818

1919
# points_per_side: Optional[int] = 32,
2020
# points_per_batch: int = 64,

0 commit comments

Comments
 (0)