Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dataset link #1416

Merged
merged 5 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/vision/handwriting_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Title: Handwriting recognition
Authors: [A_K_Nain](https://twitter.com/A_K_Nain), [Sayak Paul](https://twitter.com/RisingSayak)
Date created: 2021/08/16
Last modified: 2021/08/16
Last modified: 2023/07/06
Description: Training a handwriting recognition model with variable-length sequences.
Accelerator: GPU
"""
Expand All @@ -23,7 +23,7 @@
"""

"""shell
wget -q https://git.io/J0fjL -O IAM_Words.zip
wget -q https://github.com/sayakpaul/Handwriting-Recognizer-in-Keras/releases/download/v1.0.0/IAM_Words.zip
unzip -qq IAM_Words.zip

mkdir data
Expand All @@ -44,7 +44,7 @@
## Imports
"""

from tensorflow.keras.layers.experimental.preprocessing import StringLookup
from tensorflow.keras.layers import StringLookup
from tensorflow import keras

import matplotlib.pyplot as plt
Expand Down
6 changes: 3 additions & 3 deletions examples/vision/ipynb/handwriting_recognition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"\n",
"**Authors:** [A_K_Nain](https://twitter.com/A_K_Nain), [Sayak Paul](https://twitter.com/RisingSayak)<br>\n",
"**Date created:** 2021/08/16<br>\n",
"**Last modified:** 2021/08/16<br>\n",
"**Last modified:** 2023/07/06<br>\n",
"**Description:** Training a handwriting recognition model with variable-length sequences."
]
},
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"outputs": [],
"source": [
"!wget -q https://git.io/J0fjL -O IAM_Words.zip\n",
"!wget -q https://github.com/sayakpaul/Handwriting-Recognizer-in-Keras/releases/download/v1.0.0/IAM_Words.zip\n",
"!unzip -qq IAM_Words.zip\n",
"!\n",
"!mkdir data\n",
Expand Down Expand Up @@ -94,7 +94,7 @@
},
"outputs": [],
"source": [
"from tensorflow.keras.layers.experimental.preprocessing import StringLookup\n",
"from tensorflow.keras.layers import StringLookup\n",
"from tensorflow import keras\n",
"\n",
"import matplotlib.pyplot as plt\n",
Expand Down
6 changes: 3 additions & 3 deletions examples/vision/md/handwriting_recognition.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Authors:** [A_K_Nain](https://twitter.com/A_K_Nain), [Sayak Paul](https://twitter.com/RisingSayak)<br>
**Date created:** 2021/08/16<br>
**Last modified:** 2021/08/16<br>
**Last modified:** 2023/07/06<br>


<img class="k-inline-icon" src="https://colab.research.google.com/img/colab_favicon.ico"/> [**View in Colab**](https://colab.research.google.com/github/keras-team/keras-io/blob/master/examples/vision/ipynb/handwriting_recognition.ipynb) <span class="k-dot">•</span><img class="k-inline-icon" src="https://github.com/favicon.ico"/> [**GitHub source**](https://github.com/keras-team/keras-io/blob/master/examples/vision/handwriting_recognition.py)
Expand All @@ -26,7 +26,7 @@ good starting point for building OCR systems.


```python
!wget -q https://git.io/J0fjL -O IAM_Words.zip
!wget -q https://github.com/sayakpaul/Handwriting-Recognizer-in-Keras/releases/download/v1.0.0/IAM_Words.zip
!unzip -qq IAM_Words.zip
!
!mkdir data
Expand Down Expand Up @@ -72,7 +72,7 @@ a01-000u-00-01 ok 154 507 766 213 48 NN MOVE


```python
from tensorflow.keras.layers.experimental.preprocessing import StringLookup
from tensorflow.keras.layers import StringLookup
from tensorflow import keras

import matplotlib.pyplot as plt
Expand Down