deep-text-recognition-benchmark icon indicating copy to clipboard operation
deep-text-recognition-benchmark copied to clipboard

TypeError: __init__() got an unexpected keyword argument 'num_class'

Open lenanazarova opened this issue 2 years ago • 4 comments

Hi, please explain me what this error may be related to. I do everything according to the instructions, I made three files to reader, but in the *.yaml file I do not know what value to attr "imgH".

dddd

lenanazarova avatar Apr 07 '22 09:04 lenanazarova

Hi @lenanazarova! Could you solve this problem? I have the same. I have trained with 'TPS-VGG-BiLSTM-Attn' and I create the .yaml and .py files as the link suggest. But, the "custom model" probably was trained with current network : 'None-VGG-BiLSTM-CTC'. So I don't know how to custom my model, because I follow all the instructions of the link below.

Lucas-Mantuan avatar Apr 18 '22 19:04 Lucas-Mantuan

same problem

fbagci avatar May 18 '22 10:05 fbagci

Hi @lenanazarova! Could you solve this problem? I have the same. I have trained with 'TPS-VGG-BiLSTM-Attn' and I create the .yaml and .py files as the link suggest. But, the "custom model" probably was trained with current network : 'None-VGG-BiLSTM-CTC'. So I don't know how to custom my model, because I follow all the instructions of the link below.

Did you find solution for this problem?

SardarArslan avatar Sep 21 '22 13:09 SardarArslan

Did anyone find solution for this problem?

SardarArslan avatar Sep 21 '22 13:09 SardarArslan