Safetensors
tysirai
hosted
str/recognition
Bekhouche's picture
Publish v1
838f52a verified
|
Raw History Blame Contribute Delete
1.85 kB
---
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 |