Chinese-CLIP icon indicating copy to clipboard operation
Chinese-CLIP copied to clipboard

手动修改ChineseCLIPVisionModel to ChineseCLIPVisionModelWithProjection 失败。

Open ranck626 opened this issue 8 months ago • 1 comments

import torch
import torch.nn as nn

visual_projection = nn.Linear(768, 512, bias=False) embeds = visual_projection(pooled_output) 我人为添加了一个映射层,发现和ChineseCLIPModel求出来的编码不一样。

ranck626 avatar Jun 26 '24 13:06 ranck626