PaddleOCR
PaddleOCR copied to clipboard
RuntimeError: (PreconditionNotMet) PDNode's name should be unique
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!