File size: 1,853 Bytes
838f52a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | ---
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
---
<!-- Generated from tysirai_card.yaml by TysirAI. Do not edit: edit the card. -->
# 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: <https://github.com/chenjun2hao/SRN.pytorch>
- Original weights: <https://pan.baidu.com/s/1E5xeajIl_fvtrGWyrE9CeA>
- 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 |
|