baidu / baidu/lac

lac加载报错,一个未知的错误

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

lac = LAC(mode='lac')
File "D:\project\sentence.mining.model\auto.summarization\venv\lib\site-packages\LAC\lac.py", line 65, in __init__
model = LacModel(model_path, mode, use_cuda)
File "D:\project\sentence.mining.model\auto.summarization\venv\lib\site-packages\LAC\models.py", line 233, in __init__
super(LacModel, self).__init__(model_path, mode, use_cuda)
File "D:\project\sentence.mining.model\auto.summarization\venv\lib\site-packages\LAC\models.py", line 66, in __init__
self.predictor = create_paddle_predictor(config)
RuntimeError: Unknown exception

我丢 啊,这谁能解决一下啊, 然而在linux中却不会报这个错误

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on Windows with LAC(mode='lac'), then inspect LAC/lac.py at line 65 and LAC/models.py at lines 66 and 233. Compare the Windows and Linux environments and predictor initialization; done means the Windows cause is identified and the reported LAC loading path works or has a documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.