requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out.
1번째 방법) Command Line
pip install --default-timeout=100 future
2번째 방법) 모델 로컬 파일
로컬 파일 다운로드
bert = TFBertModel.from_pretrained("./input/bert-base-multilingual-cased/")
https://stackoverflow.com/questions/67153058/cannot-load-bert-from-local-disk
3번째 방법) 자연의 힘에 의해 해결
몇 시간이 지나 스스로 해결되어 에러가 뜨지 않을때도 있다.
'Tech > 파이썬' 카테고리의 다른 글
Keras #1 (GPU/Save & Load Model) (0) | 2023.09.28 |
---|---|
Pytorch #3 (Weight, nn.module, nn.Paramters, nn.reset_parameters) (0) | 2023.09.19 |
Pythonic Code #2 (*/**) (0) | 2023.08.24 |
WandB (0) | 2023.08.24 |