-
总体通过,但是最后报错,导致未生成ncnn的模型。
```bash
############# pass_level0
inline module = pytorchocr.modeling.backbones.rec_mv1_enhance.ConvBNLayer
inline module = pytorchocr.modeling.backbones.rec_mv1_enhance.…
-
I converted a torch model with multiple input but it is not working
input_shape = (1, 3 , 32, 96)
input_tensor = torch.ones(input_shape).cuda()
print("creating engine")
engine = torch2trt(self.n…
-
all this is about en_paddleOcr_v3_rec model:
1. convert model (https://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_train.tar)
```
(.venv) ➜ PaddleOCR2Pytorch git:(test) ✗ python3 …
mlfrd updated
10 months ago
-
File "D:\cvrd\PaddleOCR2Pytorch\pytorchocr\postprocess\db_postprocess.py", line 127, in box_score_fast
xmin = np.clip(np.floor(box[:, 0].min()).astype(np.int), 0, w - 1)
原因是:
numpy.int was depr…
-
![image](https://github.com/user-attachments/assets/28cd54b7-c056-4dcc-bab6-2b8464c9c310)
-
但外面det_algorithm又是有PSE这一项的
-
-
python tools/infer/predict_e2e.py --e2e_model_path ./en_server_pgnetA_infer.pth --image_dir D:\workspace\python\demo-test\test\OCR\img\20220413114341.jpg --e2e_a
lgorithm PGNet --e2e_pgnet_polygon Tr…
-
-
按照提示都改成--rec_image_shape='3,32,100' and --rec_char_type='en' 还会报下面的错误,
Please read the FAQ:https://github.com/PaddlePaddle/PaddleOCR#faq
If your model has tps module: TPS does not support variab…