paddlehub ernie和senta_bilstm在Linux下卡死
Created by: x330930520
环境信息:
CentOS Linux release 7.3.1611 (Core)
Python3.7
paddlehub 1.6.2
paddlepaddle-gpu 1.7.2.post107
在linux下运行ernie的senta_bilstm,我在主程序最后有一个print完成,当print完成后,程序会继续运行等很久才结束,手动ctrl c就会出现一个exception:
Exception ignored in: <module 'threading' from '/home/anaconda3/lib/python3.7/threading.py'> Traceback (most recent call last): File "/home/anaconda3/lib/python3.7/threading.py", line 1307, in _shutdown lock.acquire() KeyboardInterrupt
在windows下则不会,window主程序print完成后会立即退出