Yichao Cai
Yichao Cai
@cem-sirin I partly agree with your opinion. Regarding the label term for calculating the cross entropy, both the CLIP paper and the OpenCLIP code (https://github.com/mlfoundations/open_clip/blob/main/src/open_clip/loss.py#L92) employ hard targets. Moreover, recent...
Hi @cem-sirin, Apologies for my delayed response. I haven't executed the code in this repository, as the modifications presented have not convinced me of their efficacy. Additionally, the paper I...
The dummy input that `summary(net, (3, 224, 224))` creates is on CPU by default. You may try: `summary(net, input_size=(3, 224, 224), device=str(device))`
稍微看了一下,应该是DenseBlock的__make_layers函数里面用了普通list的缘故,替换成nn.ModuleList()试试。 `def __make_layers(self): layer_list = nn.ModuleList() for i in range(self.num_layers): layer_list.append(nn.Sequential( BN_Conv2d(self.k0 + i * self.k, 4 * self.k, 1, 1, 0), BN_Conv2d(4 * self.k, self.k, 3, 1, 1) ))...
Domain: CLIP Adaptation, Disentanglement, Zero-Shot learning Paper name/title: CLAP: Isolating Content from Style through Contrastive Learning with Augmented Prompts Paper link: [https://arxiv.org/abs/2311.16445](https://arxiv.org/abs/2311.16445) Code link: [https://github.com/YichaoCai1/CLAP](https://github.com/YichaoCai1/CLAP)