Traceback (most recent call last):
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\util\connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "E:\Anaconda\envs\vilmedic2\lib\socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.3.0.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\dyc\test.py", line 45, in
from vilmedic import AutoModel
File "e:\dyc\vilmedic-main\vilmedic__init.py", line 1, in
from .zoo.modeling_auto import AutoModel
File "e:\dyc\vilmedic-main\vilmedic\zoo\modeling_auto.py", line 11, in
from ..models import *
File "e:\dyc\vilmedic-main\vilmedic\models\init.py", line 7, in
from vilmedic.models.rrs.RRS_SCST import RRS_SCST
File "e:\dyc\vilmedic-main\vilmedic\models\rrs\RRS_SCST.py", line 7, in
from vilmedic.blocks.rl.SCST import SCST
File "e:\dyc\vilmedic-main\vilmedic\blocks\rl\SCST.py", line 2, in
from vilmedic.blocks.scorers.scores import REWARD_COMPLIANT
File "e:\dyc\vilmedic-main\vilmedic\blocks\scorers\init__.py", line 9, in
from .RadEntityMatchExact.RadEntityMatchExact import RadEntityMatchExact
File "e:\dyc\vilmedic-main\vilmedic\blocks\scorers\RadEntityMatchExact\RadEntityMatchExact.py", line 9, in
stanza.download('en', processors='tokenize,lemma,pos,ner')
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 409, in download
download_resources_json(model_dir, resources_url, resources_branch,
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 360, in download_resources_json
request_file(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 142, in request_file
download_file(url, path, proxies, raise_for_status)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 117, in download_file
r = requests.get(url, stream=True, proxies=proxies)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, send_kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.3.0.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
Traceback (most recent call last): File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 174, in _new_conn conn = connection.create_connection( File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\util\connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "E:\Anaconda\envs\vilmedic2\lib\socket.py", line 954, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11004] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 1042, in _validate_conn conn.connect() File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 358, in connect self.sock = conn = self._new_conn() File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\adapters.py", line 489, in send resp = conn.urlopen( File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen retries = retries.increment( File "E:\Anaconda\envs\vilmedic2\lib\site-packages\urllib3\util\retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.3.0.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "E:\dyc\test.py", line 45, in
from vilmedic import AutoModel
File "e:\dyc\vilmedic-main\vilmedic__init.py", line 1, in
from .zoo.modeling_auto import AutoModel
File "e:\dyc\vilmedic-main\vilmedic\zoo\modeling_auto.py", line 11, in
from ..models import *
File "e:\dyc\vilmedic-main\vilmedic\models\ init.py", line 7, in
from vilmedic.models.rrs.RRS_SCST import RRS_SCST
File "e:\dyc\vilmedic-main\vilmedic\models\rrs\RRS_SCST.py", line 7, in
from vilmedic.blocks.rl.SCST import SCST
File "e:\dyc\vilmedic-main\vilmedic\blocks\rl\SCST.py", line 2, in
from vilmedic.blocks.scorers.scores import REWARD_COMPLIANT
File "e:\dyc\vilmedic-main\vilmedic\blocks\scorers\ init__.py", line 9, in
from .RadEntityMatchExact.RadEntityMatchExact import RadEntityMatchExact
File "e:\dyc\vilmedic-main\vilmedic\blocks\scorers\RadEntityMatchExact\RadEntityMatchExact.py", line 9, in
stanza.download('en', processors='tokenize,lemma,pos,ner')
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 409, in download
download_resources_json(model_dir, resources_url, resources_branch,
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 360, in download_resources_json
request_file(
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 142, in request_file
download_file(url, path, proxies, raise_for_status)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\stanza\resources\common.py", line 117, in download_file
r = requests.get(url, stream=True, proxies=proxies)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, send_kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, kwargs)
File "E:\Anaconda\envs\vilmedic2\lib\site-packages\requests\adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /stanfordnlp/stanza-resources/main/resources_1.3.0.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000251BF299B80>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))