Traceback (most recent call last):
File "convert.py", line 52, in
info(opt)
File "convert.py", line 18, in info
result = text_recogn.predict(opt,img_path)
File "/home/kc/Desktop/torch2trt/lib/helpers2.py", line 99, in predict
model_trt = torch2trt(model, [img],
File "/home/kc/Desktop/torch2trt/torch2trt/torch2trt.py", line 619, in torch2trt
outputs = module(*inputs)
File "/home/kc/anaconda3/envs/text/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/home/kc/anaconda3/envs/text/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 166, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/kc/anaconda3/envs/text/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
TypeError: forward() missing 1 required positional argument: 'text'