Update README.md
Browse files
README.md
CHANGED
@@ -89,8 +89,8 @@ with torch.no_grad():
|
|
89 |
probabilities = torch.sigmoid(logits).cpu().numpy().flatten()
|
90 |
|
91 |
# Format predictions
|
92 |
-
|
93 |
-
print(
|
94 |
```
|
95 |
|
96 |
|
|
|
89 |
probabilities = torch.sigmoid(logits).cpu().numpy().flatten()
|
90 |
|
91 |
# Format predictions
|
92 |
+
predictions = {labels[i]: probabilities[i] for i in range(len(labels))}
|
93 |
+
print(predictions)
|
94 |
```
|
95 |
|
96 |
|