WangZ
WangZ
所以是predic_rec脚本出现问题了吗? > the predict mode worked for me > > ``` > python3 tools/infer_rec.py -c configs/rec/rec_r50_fpn_srn.yml -o Global.pretrained_model={path/to/weights}/best_accuracy Global.infer_img=doc/imgs_words/en/word_1.png > ```
What about the contents of the files under the path ./output/names/predicts_ppocrv3.txt?
python tools/infer_rec.py -c train/namesVnew2.yml -o Global.checkpoints=output/namesV3new/latest Global.infer_img=dataset-kartmelly-eval/img14.png char_dict_path=train/namesV2.txt try this command, set checkpoints to your model, not the pretrained_model
应该是支持的,它的kv对不会在同一个linking中出现
目前暂时还没有相关的范例,这个场景在数据集中出现频繁吗?
这种情况建议增加这种类型的数据,或者在训练的时候调大学习率尝试会不会有所改善
可以检查一下,拼接操作的变量是否正常,可能有未实例化的对象
和数据量大小有关也和模型结构有关,ppocr使用了轻量化的技术,参数量小意味着对反向传播很敏感,容易出现性能的起伏。可以尝试使用更深的backbone,应该会有改善
Thank you for your suggestion. We will continue to follow up and improve it
可以提供一下具体使用的config文件内容吗