Skip to content

Commit 69272ea

Browse files
Fixed some typos (keras-team#1100)
* Fixed some typos * Fixed typos * Reverting VSCode automatic fixes
1 parent f573fc0 commit 69272ea

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

examples/vision/edsr.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def random_crop(lowres_img, highres_img, hr_crop_size=96, scale=4):
106106
"""Crop images.
107107
108108
low resolution images: 24x24
109-
hight resolution images: 96x96
109+
high resolution images: 96x96
110110
"""
111111
lowres_crop_size = hr_crop_size // scale # 96//4=24
112112
lowres_img_shape = tf.shape(lowres_img)[:2] # (height,width)
@@ -175,7 +175,7 @@ def dataset_object(dataset_cache, training=True):
175175

176176
lowres, highres = next(iter(train_ds))
177177

178-
# Hight Resolution Images
178+
# High Resolution Images
179179
plt.figure(figsize=(10, 10))
180180
for i in range(9):
181181
ax = plt.subplot(3, 3, i + 1)
@@ -339,7 +339,7 @@ def plot_results(lowres, preds):
339339
training the model with a wider variety of inputs with mixed downgrading factors, so as to
340340
be able to handle a greater range of real-world images.
341341
342-
You could also improve on the given basline EDSR model by implementing EDSR+,
342+
You could also improve on the given baseline EDSR model by implementing EDSR+,
343343
or MDSR( Multi-Scale super-resolution) and MDSR+,
344344
which were proposed in the same paper.
345345
"""

examples/vision/ipynb/edsr.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
" \"\"\"Crop images.\n",
161161
"\n",
162162
" low resolution images: 24x24\n",
163-
" hight resolution images: 96x96\n",
163+
" high resolution images: 96x96\n",
164164
" \"\"\"\n",
165165
" lowres_crop_size = hr_crop_size // scale # 96//4=24\n",
166166
" lowres_img_shape = tf.shape(lowres_img)[:2] # (height,width)\n",
@@ -257,7 +257,7 @@
257257
"source": [
258258
"lowres, highres = next(iter(train_ds))\n",
259259
"\n",
260-
"# Hight Resolution Images\n",
260+
"# High Resolution Images\n",
261261
"plt.figure(figsize=(10, 10))\n",
262262
"for i in range(9):\n",
263263
" ax = plt.subplot(3, 3, i + 1)\n",
@@ -469,7 +469,7 @@
469469
"training the model with a wider variety of inputs with mixed downgrading factors, so as to\n",
470470
"be able to handle a greater range of real-world images.\n",
471471
"\n",
472-
"You could also improve on the given basline EDSR model by implementing EDSR+,\n",
472+
"You could also improve on the given baseline EDSR model by implementing EDSR+,\n",
473473
"or MDSR( Multi-Scale super-resolution) and MDSR+,\n",
474474
"which were proposed in the same paper."
475475
]
@@ -503,4 +503,4 @@
503503
},
504504
"nbformat": 4,
505505
"nbformat_minor": 0
506-
}
506+
}

examples/vision/md/edsr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def random_crop(lowres_img, highres_img, hr_crop_size=96, scale=4):
114114
"""Crop images.
115115
116116
low resolution images: 24x24
117-
hight resolution images: 96x96
117+
high resolution images: 96x96
118118
"""
119119
lowres_crop_size = hr_crop_size // scale # 96//4=24
120120
lowres_img_shape = tf.shape(lowres_img)[:2] # (height,width)
@@ -187,7 +187,7 @@ Let's visualize a few sample images:
187187
```python
188188
lowres, highres = next(iter(train_ds))
189189

190-
# Hight Resolution Images
190+
# High Resolution Images
191191
plt.figure(figsize=(10, 10))
192192
for i in range(9):
193193
ax = plt.subplot(3, 3, i + 1)
@@ -632,6 +632,6 @@ Super-Resolution). You could improve the model accuracy by training the model fo
632632
training the model with a wider variety of inputs with mixed downgrading factors, so as to
633633
be able to handle a greater range of real-world images.
634634

635-
You could also improve on the given basline EDSR model by implementing EDSR+,
635+
You could also improve on the given baseline EDSR model by implementing EDSR+,
636636
or MDSR( Multi-Scale super-resolution) and MDSR+,
637637
which were proposed in the same paper.

0 commit comments

Comments
 (0)