macanv / BERT-BiLSTM-CRF-NER

Tensorflow solution of NER task Using BiLSTM-CRF model with Google BERT Fine-tuning And private Server services
https://github.com/macanv/BERT-BiLSMT-CRF-NER
4.67k stars 1.25k forks source link

服务启动后,服务端接收到数据但一直未返回结果,也未报错,请问是什么问题呢? #378

Open dolphin-Jia opened 3 years ago

dolphin-Jia commented 3 years ago

服务端一直处于这个状态 I:SINK:[i:_ru:317]:ready I:WORKER-0:[__i:_ru:497]:use device cpu, load graph from /tf/train_out/classification_model.pb I:WORKER-0:[i:gen:537]:ready and listening! I:VENTILATOR:[i:_ru:215]:new encode request req id: 0 size: 3 client: b'7c94f7a6-2729-4ad4-b950-ff36f107b07e' I:SINK:[__i:_ru:369]:job register size: 3 job id: b'7c94f7a6-2729-4ad4-b950-ff36f107b07e#0' I:WORKER-0:[i:gen:545]:new job socket: 0 size: 3 client: b'7c94f7a6-2729-4ad4-b950-ff36f107b07e#0'

aaronliu7 commented 3 years ago

如果有多个显卡的话,换个显卡试试,可能是显卡驱动的问题,我换了个显卡可以了 device_map 指定显卡