We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5b31c8 commit 2bcf666Copy full SHA for 2bcf666
comet/models/predict_writer.py
@@ -86,7 +86,7 @@ def flatten(list):
86
87
def flatten_predictions(predictions):
88
flatten_pred = Prediction(
89
- scores=torch.cat([pred.scores for pred in predictions], dim=0)
+ scores=torch.cat([pred["scores"] for pred in predictions], dim=0)
90
)
91
if "metadata" in predictions[0]:
92
flatten_pred["metadata"] = flatten_metadata(
0 commit comments