360CVGroup/SEEChat

报错“We couldn't connect to 'https://huggingface.co' to load this file.”, 需要科学上网才能加载Q-Former吗?

Closed this issue · 0 comments

Loading VIT
Loading VIT Done
Loading Q-Former
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/xxx/anaconda3/envs/seechat/lib/python3.8/site-packages/transformers/utils/hub.py:409 │
│ in cached_file │
│ │
│ 406 │ user_agent = http_user_agent(user_agent) │
│ 407 │ try: │
│ 408 │ │ # Load from URL or cache if already cached │
│ ❱ 409 │ │ resolved_file = hf_hub_download( │
│ 410 │ │ │ path_or_repo_id, │
│ 411 │ │ │ filename, │
│ 412 │ │ │ subfolder=None if len(subfolder) == 0 else subfolder, │
│ │
│ /home/xxx/anaconda3/envs/seechat/lib/python3.8/site-packages/huggingface_hub/utils/_valida │
│ tors.py:120 in _inner_fn │
│ │
│ 117 │ │ if check_use_auth_token: │
│ 118 │ │ │ kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=ha │
│ 119 │ │ │
│ ❱ 120 │ │ return fn(*args, **kwargs) │
│ 121 │ │
│ 122 │ return _inner_fn # type: ignore │
│ 123 │
│ │
│ /home/xxx/anaconda3/envs/seechat/lib/python3.8/site-packages/huggingface_hub/file_download │
│ .py:1259 in hf_hub_download │
│ │
│ 1256 │ │ │ │ " and downloads online, set 'local_files_only' to False." │
│ 1257 │ │ │ ) │
│ 1258 │ │ else: │
│ ❱ 1259 │ │ │ raise LocalEntryNotFoundError( │
│ 1260 │ │ │ │ "Connection error, and we cannot find the requested files in" │
│ 1261 │ │ │ │ " the disk cache. Please try again or make sure your Internet" │
│ 1262 │ │ │ │ " connection is on." │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
LocalEntryNotFoundError: Connection error, and we cannot find the requested files in the disk cache. Please try again or make sure your Internet connection is on.