Update __main__.py
Browse files- __main__.py +1 -3
__main__.py
CHANGED
@@ -161,9 +161,7 @@ def answer_question(
|
|
161 |
|
162 |
image_features = image_forward_outs.hidden_states[-2]
|
163 |
|
164 |
-
|
165 |
-
|
166 |
-
projected_embeddings = projection_module(image_features2).to("cuda")
|
167 |
|
168 |
embedding_layer = model.get_input_embeddings()
|
169 |
# text_embeddings = embedding_layer(input_ids)
|
|
|
161 |
|
162 |
image_features = image_forward_outs.hidden_states[-2]
|
163 |
|
164 |
+
projected_embeddings = projection_module(image_features).to("cuda")
|
|
|
|
|
165 |
|
166 |
embedding_layer = model.get_input_embeddings()
|
167 |
# text_embeddings = embedding_layer(input_ids)
|