Update README.md
Browse files
README.md
CHANGED
|
@@ -57,9 +57,9 @@ inputs = processor(images, texts[::-1], padding=True, return_tensors="pt")
|
|
| 57 |
outputs_swapped = model(**inputs)
|
| 58 |
|
| 59 |
print('Loss', outputs.loss.item())
|
|
|
|
| 60 |
print('Loss with swapped images', outputs_swapped.loss.item())
|
| 61 |
-
# Loss
|
| 62 |
-
# Loss with swapped images 2.987490177154541
|
| 63 |
```
|
| 64 |
|
| 65 |
Here is how to use this model to perform image and text matching
|
|
|
|
| 57 |
outputs_swapped = model(**inputs)
|
| 58 |
|
| 59 |
print('Loss', outputs.loss.item())
|
| 60 |
+
# Loss 0.00191505195107311
|
| 61 |
print('Loss with swapped images', outputs_swapped.loss.item())
|
| 62 |
+
# Loss with swapped images 2.1259872913360596
|
|
|
|
| 63 |
```
|
| 64 |
|
| 65 |
Here is how to use this model to perform image and text matching
|