hezar.models.image2text.crnn.crnn_image2text_config module

class hezar.models.image2text.crnn.crnn_image2text_config.CRNNImage2TextConfig(id2label: Dict[int, str] = None, blank_id: int = 0, n_channels: int = 1, image_height: int = 32, image_width: int = 128, map2seq_in_dim: int = 2048, map2seq_out_dim: int = 64, rnn_dim: int = 256, reverse_prediction_text: bool = None, reverse_output_digits: bool = None)[source]

Bases: ModelConfig

blank_id: int = 0
id2label: Dict[int, str] = None
image_height: int = 32
image_width: int = 128
map2seq_in_dim: int = 2048
map2seq_out_dim: int = 64
n_channels: int = 1
name: str = 'crnn_image2text'
reverse_output_digits: bool = None
reverse_prediction_text: bool = None
rnn_dim: int = 256