多模态医疗模型前沿介绍 BiomedCLIP模型配置文件找不到 #730

Open
opened 2025-05-16 23:30:11 +08:00 by jiangjiazhizhi · 0 comments

RuntimeError: Model config for BiomedCLIP-PubMedBERT_256-vit_base_patch16_224 not found.

image
image

另外代码需要加以下代码,export HF_ENDPOINT=https://hf-mirror.com 运行这个也不行,否则根本无法运行,因为autodl访问不了huggingface.io
import os

配置国内镜像源(必须放在代码最开头)

os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
os.environ['CURL_CA_BUNDLE'] = '' # 禁用SSL验证(若镜像站仍报错)

RuntimeError: Model config for BiomedCLIP-PubMedBERT_256-vit_base_patch16_224 not found. ![image](/attachments/05da3733-9bb0-49a6-a0c7-b259538ae3b2) ![image](/attachments/b9fbd3ef-a00b-4515-bc65-903c8dda189b) 另外代码需要加以下代码,export HF_ENDPOINT=https://hf-mirror.com 运行这个也不行,否则根本无法运行,因为autodl访问不了huggingface.io import os # 配置国内镜像源(必须放在代码最开头) os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com' os.environ['CURL_CA_BUNDLE'] = '' # 禁用SSL验证(若镜像站仍报错)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#730
No description provided.