drenched9
drenched9
如果是要识别印章,直接看就好了 [https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/applications/印章弯曲文字识别.md](url)
应该是你预测的时候要加上一个分类模型,分出是否旋转了90°或者180°。然后就可以正常识别了
我也遇到了这个问题,我把配置文件中的Eval部分的loader里的num_workers: 8,改成了0,就可以了。
@playgit2001 你最上面说你batch_size调到2了,这个是训练的batch_size还是评估的呢?我刚刚又看了一眼,评估的batch_size_per_card默认就是1,而且注释了# must be 1。
> > 换一个预训练模型呗 > > 识别模型要换成哪个预训练呢?当前是用的v3 意思是让你不直接使用v3预测,而是使用预训练模型和自己的数据标注后,重新训练一个针对你这个数据集的模型,用它来预测。
is the dict.txt you adjust the same as the txt in your command with "Global.character_dict_path=ppocr/utils/ic15_dict.txt"?
add argument "image_dir", which supports single image and image folder. eg: python3 tools/infer/predict_rec.py --image_dir="./test_data"
Hi schplurtz, I got the same error and solved with the same as your method by replace `wass` with `bergamasco/wass:runall`. However, when I rerun the command, another error occured. Did...
我也是,有没有好心人回答一下
> 把这行代码直接改成device='cuda': > > https://github.com/THUDM/VisualGLM-6B/blob/main/cli_demo.py#L36 试过了,还是一样的报错