Upload modeling_keep.py
Browse files- modeling_keep.py +1 -1
modeling_keep.py
CHANGED
@@ -66,7 +66,7 @@ class KEEPModel(PreTrainedModel):
|
|
66 |
def forward(self, image_inputs, text_inputs):
|
67 |
vision_features = self.encode_image(image_inputs)
|
68 |
|
69 |
-
text_features = self.
|
70 |
|
71 |
# 返回两个独立的特征
|
72 |
return {
|
|
|
66 |
def forward(self, image_inputs, text_inputs):
|
67 |
vision_features = self.encode_image(image_inputs)
|
68 |
|
69 |
+
text_features = self.encode_text(text_inputs)
|
70 |
|
71 |
# 返回两个独立的特征
|
72 |
return {
|