Skip to content

Commit c15a5fc

Browse files
committed
updates
1 parent 951af14 commit c15a5fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/MMLLM/庖丁解牛BLIP2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ class Blip2Qformer(Blip2Base):
135135
)
136136
...
137137
```
138+
139+
> 以上代码注释中统一用B代替image_batch和text_batch,以及seq_len和hidden_size也是同样处理手段,大家注意区分。
140+
138141
为了训练好Q-Former,第一阶段设计了三个训练目标,分别如下:
139142

140143
1、Image-Text Contrastive Learning (ITC Loss, CLIP-like)

0 commit comments

Comments
 (0)