BERT-BiLSTM-CRF-NER icon indicating copy to clipboard operation
BERT-BiLSTM-CRF-NER copied to clipboard

请教各位,客户端调用时没有反应,服务器端显示如下该怎么解决?

Open Lyabo opened this issue 5 years ago • 4 comments

I:WORKER-0:[__i:gen:537]:ready and listening! I:VENTILATOR:[__i:_ru:215]:new encode request req id: 0 size: 2 client: b'0c836adc-74f4-48b5-8af4-a957eefecebd' I:SINK:[__i:_ru:369]:job register size: 2 job id: b'0c836adc-74f4-48b5-8af4-a957eefecebd#0' I:WORKER-0:[__i:gen:545]:new job socket: 0 size: 2 client: b'0c836adc-74f4-48b5-8af4-a957eefecebd#0'

Lyabo avatar Jun 17 '19 02:06 Lyabo

我也遇到这个问题了,请问你解决了吗

lvjianjin avatar Jul 25 '19 06:07 lvjianjin

阿哦 我好像懂了 原来的端口号写错了

lvjianjin avatar Jul 25 '19 06:07 lvjianjin

same problem,请问有解决的办法了吗

tian231825 avatar Dec 09 '19 07:12 tian231825

If you run run.py to start service,make sure your -max_seq_len flag match your model input's length.Otherwise the client will receive nothing, because server can't deal with wrong size of inputs.

Lvmoy avatar Jul 20 '20 02:07 Lvmoy