Closed haimat closed 2 weeks ago
After installing PPOCRLabel via pip I get the following error when trying to launch the application:
PPOCRLabel
pip
-------------------------------------- C++ Traceback (most recent call last): -------------------------------------- 0 paddle_infer::Predictor::Predictor(paddle::AnalysisConfig const&) 1 std::unique_ptr<paddle::PaddlePredictor, std::default_delete<paddle::PaddlePredictor> > paddle::CreatePaddlePredictor<paddle::AnalysisConfig, (paddle::PaddleEngineKind)2>(paddle::AnalysisConfig const&) 2 paddle::AnalysisPredictor::Init(std::shared_ptr<paddle::framework::Scope> const&, std::shared_ptr<paddle::framework::ProgramDesc> const&) 3 paddle::AnalysisPredictor::PrepareProgram(std::shared_ptr<paddle::framework::ProgramDesc> const&) 4 paddle::AnalysisPredictor::OptimizeInferenceProgram() 5 paddle::inference::analysis::Analyzer::RunAnalysis(paddle::inference::analysis::Argument*) 6 paddle::inference::analysis::IrAnalysisPass::RunImpl(paddle::inference::analysis::Argument*) 7 paddle::inference::analysis::IRPassManager::Apply(std::unique_ptr<paddle::framework::ir::Graph, std::default_delete<paddle::framework::ir::Graph> >) 8 paddle::framework::ir::Pass::Apply(paddle::framework::ir::Graph*) const 9 paddle::framework::ir::SelfAttentionFusePass::ApplyImpl(paddle::framework::ir::Graph*) const 10 paddle::framework::ir::GraphPatternDetector::operator()(paddle::framework::ir::Graph*, std::function<void (std::map<paddle::framework::ir::PDNode*, paddle::framework::ir::Node*, paddle::framework::ir::GraphPatternDetector::PDNodeCompare, std::allocator<std::pair<paddle::framework::ir::PDNode* const, paddle::framework::ir::Node*> > > const&, paddle::framework::ir::Graph*)>) ---------------------- Error Message Summary: ---------------------- FatalError: `Illegal instruction` is detected by the operating system. [TimeInfo: *** Aborted at 1730751475 (unix time) try "date -d @1730751475" if you are using GNU date ***] [SignalInfo: *** SIGILL (@0x79c668e5a13a) received by PID 86765 (TID 0x79c6a5bd6000) from PID 1759879482 ***] Illegal instruction (core dumped)
Any ideas?
you may need install paddle 3.0 beta framework.
Thanks, that solved this problem. However, I still have an issue starting the application: https://github.com/PFCCLab/PPOCRLabel/issues/108
After installing
PPOCRLabel
viapip
I get the following error when trying to launch the application:Any ideas?