You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use lac to do NER by gpu, all the result is 'a', it seems the lac is not working. The result by cpu is normal.
The input is "地址:上海市长宁区古北路666号嘉麒大厦602室"
and the result of cpu is : [['地址', ':', '上海市', '长宁区', '古北路', '666号', '嘉麒大厦', '602', '室'], ['n', 'w', 'LOC', 'LOC', 'LOC', 'm', 'LOC', 'm', 'n']]
the result of gpu is W0309 21:54:09.091929 804304 analysis_predictor.cc:2166] Deprecated. Please use CreatePredictor instead. [['地址', ':', '上海市', '长宁区', '古北', '路', '666', '号', '嘉', '麒', '大厦', '602', '室'], ['a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a']]
My paddle version is "paddlepaddle-gpu:2.4.2" and the LAC version is 2.1.2.
My gpu env is torch10.1 cuda10.2 cudnn7.6.5_0
Why the gpu donot work and how to fix this problem?
The text was updated successfully, but these errors were encountered:
nashJG
changed the title
The ner result by paddle-gpu is wrong
W0309 21:57:26.429087 805030 analysis_predictor.cc:2166] Deprecated. Please use CreatePredictor instead.
Mar 9, 2023
nashJG
changed the title
W0309 21:57:26.429087 805030 analysis_predictor.cc:2166] Deprecated. Please use CreatePredictor instead.
[GPU not working] W0309 21:57:26.429087 805030 analysis_predictor.cc:2166] Deprecated. Please use CreatePredictor instead.
Mar 9, 2023
When I use lac to do NER by gpu, all the result is 'a', it seems the lac is not working. The result by cpu is normal.
The input is
"地址:上海市长宁区古北路666号嘉麒大厦602室"
and the result of cpu is :
[['地址', ':', '上海市', '长宁区', '古北路', '666号', '嘉麒大厦', '602', '室'], ['n', 'w', 'LOC', 'LOC', 'LOC', 'm', 'LOC', 'm', 'n']]
the result of gpu is
W0309 21:54:09.091929 804304 analysis_predictor.cc:2166] Deprecated. Please use CreatePredictor instead. [['地址', ':', '上海市', '长宁区', '古北', '路', '666', '号', '嘉', '麒', '大厦', '602', '室'], ['a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'a']]
My paddle version is "paddlepaddle-gpu:2.4.2" and the LAC version is 2.1.2.
My gpu env is torch10.1 cuda10.2 cudnn7.6.5_0
Why the gpu donot work and how to fix this problem?
The text was updated successfully, but these errors were encountered: