Safetensors
tysirai
hosted
str/recognition

tysirai/TPS-ResNet-BiLSTM-Attn-CS-STR v1

A hosted model for the task str/recognition, published by TysirAI.

import tysirai

model = tysirai.load("hf://tysirai/TPS-ResNet-BiLSTM-Attn-CS-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

Licenses

  • Code: Apache-2.0
  • Weights: Apache-2.0
  • Training data: unknown

Notes

  • Weights converted from the original release (https://drive.google.com/open?id=1ajONZOgiG9pEYsQ-eBmgkVbMDuHgPCaY) to TysirAI; outputs checked against the DeepTextRecognition (DTR) implementation.
  • Input range: the images are normalized to [-1, 1], as in the training code of the original repository (dataset.py); the first DTR configuration fed them in [0, 1].

Fidelity

Fidelity set: fidelity.

Output atol rtol
text:labels 0 0
Downloads last month
22
Safetensors
Model size
49.7M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including tysirai/TPS-ResNet-BiLSTM-Attn-CS-STR

Paper for tysirai/TPS-ResNet-BiLSTM-Attn-CS-STR