Instructions to use keras-io/ocr-for-captcha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/ocr-for-captcha with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("keras-io/ocr-for-captcha") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,6 +15,6 @@ Full credits to: [Aakash Kumar Nain](https://twitter.com/A_K_Nain)
|
|
| 15 |
|
| 16 |
## Background Information
|
| 17 |
This example demonstrates a simple OCR model built with the Functional API. Apart from combining CNN and RNN, it also illustrates how you can instantiate a new layer and use it as an "Endpoint layer" for implementing CTC loss.
|
| 18 |
-
This model uses subclassing
|
| 19 |

|
| 20 |
|
|
|
|
| 15 |
|
| 16 |
## Background Information
|
| 17 |
This example demonstrates a simple OCR model built with the Functional API. Apart from combining CNN and RNN, it also illustrates how you can instantiate a new layer and use it as an "Endpoint layer" for implementing CTC loss.
|
| 18 |
+
This model uses subclassing, learn more about subclassing from [this guide](https://keras.io/guides/making_new_layers_and_models_via_subclassing/).
|
| 19 |

|
| 20 |
|