--- datasets: - MJSynth - SynthText library_name: tysirai license: unknown tags: - tysirai - hosted - str/recognition tysirai: name: tysirai/ResNet-TEncoder-SRN-STR version: v1 kind: hosted task: str/recognition licenses: code: unknown weights: unknown training_data: unknown --- # tysirai/ResNet-TEncoder-SRN-STR v1 A `hosted` model for the task `str/recognition`, published by TysirAI. ```python import tysirai model = tysirai.load("hf://tysirai/ResNet-TEncoder-SRN-STR@v1") outputs = model(images=images) outputs["text:labels"] ``` `images` is an input of type `image`. ## Interface | Slot | Name | Type | |---|---|---| | In | `images` | `image` | | Out | `text:labels` | `Text(B) [text]` | ## Lineage - Paper: Yu et al., "Towards Accurate Scene Text Recognition with Semantic Reasoning Networks", CVPR 2020, arXiv:2003.12294 - Original code: - Original weights: - Training data: MJSynth (train), SynthText (train) ## Licenses - Code: unknown - Weights: unknown - Training data: unknown ## Notes - Weights converted from the original release (https://pan.baidu.com/s/1E5xeajIl\_fvtrGWyrE9CeA) to TysirAI; outputs checked against the DeepTextRecognition (DTR) implementation. - Input range: the images are normalized to \[-1, 1\], as in clovaai/deep-text-recognition-benchmark, whose code the README of the original repository says it borrowed; the first DTR configuration fed them in \[0, 1\]. - The original repository has no license. The weights are shared with credit to its author, and will be removed at the author's request. ## Fidelity Fidelity set: `fidelity`. | Output | atol | rtol | |---|---|---| | `text:labels` | 0 | 0 |