Pedro Cavalcanti commited on
Commit ·
11931df
1
Parent(s): 5049a6b
changed: file
Browse files- modeling_florence2.py +0 -2
modeling_florence2.py
CHANGED
|
@@ -3062,8 +3062,6 @@ class Florence2ForConditionalGeneration(Florence2PreTrainedModel):
|
|
| 3062 |
output = (logits,) + outputs[1:]
|
| 3063 |
return (loss,) + output if loss is not None else output
|
| 3064 |
|
| 3065 |
-
print(image_features)
|
| 3066 |
-
|
| 3067 |
return Florence2Seq2SeqLMOutput(
|
| 3068 |
loss=loss,
|
| 3069 |
logits=logits,
|
|
|
|
| 3062 |
output = (logits,) + outputs[1:]
|
| 3063 |
return (loss,) + output if loss is not None else output
|
| 3064 |
|
|
|
|
|
|
|
| 3065 |
return Florence2Seq2SeqLMOutput(
|
| 3066 |
loss=loss,
|
| 3067 |
logits=logits,
|