PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

RuntimeError: (PreconditionNotMet) PDNode's name should be unique

Open xhzh11 opened this issue 7 months ago • 6 comments

Search before asking

  • [X] I have searched the PaddleOCR Docs and found no similar bug report.

  • [X] I have searched the PaddleOCR Issues and found no similar bug report.

  • [X] I have searched the PaddleOCR Discussions and found no similar bug report.

Bug

python 3.8.0 paddleocr==2.6.1.0 paddlepaddle==2.6.1

ocr_engine = PaddleOCR(det_model_dir=det_model_dir, lang='ch') 出现下面的问题应该怎么解决

RuntimeError: (PreconditionNotMet) PDNode's name should be unique, get duplicate [layer_norm_fuse/layer_norm/] [Hint: Expected node_map_.count(name) == 0UL, but received node_map_.count(name): != 0UL:.] (at /paddle/paddle/fluid/framework/ir/graph_pattern_detector.cc:

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

xhzh11 avatar Jul 31 '24 04:07 xhzh11