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

Custom model inference is not very smooth.

Open SardarArslan opened this issue 3 years ago • 0 comments

1 import easyocr ----> 2 reader = easyocr.Reader(lang_list=['en'],recog_network='best_accuracy')

1 frames /usr/local/lib/python3.7/dist-packages/easyocr/recognition.py in get_recognizer(recog_network, network_params, character, separator_list, dict_list, model_path, device, quantize) 164 else: 165 model_pkg = importlib.import_module(recog_network) --> 166 model = model_pkg.Model(3,512,256,64) 167 168 if device == 'cpu':

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

Please fix this

SardarArslan avatar Sep 21 '22 15:09 SardarArslan