LeeSureman / Flat-Lattice-Transformer

code for ACL 2020 paper: FLAT: Chinese NER Using Flat-Lattice Transformer
1k stars 178 forks source link

after run python flat_main.py --dataset resume ; bug-- requests.exceptions.ConnectionError #135

Open gowqh opened 2 months ago

gowqh commented 2 months ago

大佬你好,请问在运行,python flat_main.py --dataset resume 之后遇到这个问题,需要怎么解决

requests.exceptions.ConnectionError: HTTPConnectionPool(host='212.129.155.247', port=80): Max retries exceeded with url: /embedding/bert-chinese-wwm.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc2dcdc0c90>: Failed to establish a new connection: [Errno 60] Operation timed out'))

卡在了这一步: 7, 1, 2, 3, 4, 2, 3, 4, 4, 5, 6, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 21, 23, 25, 28, 29, 29, 31, 34, 35, 36, 35, 36, 36] embedding:torch.Size([1903, 50]) norm embedding embedding:torch.Size([13316, 50]) norm lattice embedding ------ 然后就出bug 了