Closed ymoslem closed 7 months ago
Fixes: AttributeError: 'dict' object has no attribute 'scores' #183
Changed:
scores = torch.cat([pred.scores for pred in predictions], dim=0).tolist()
to:
scores = torch.cat([pred["scores"] for pred in predictions], dim=0).tolist()
Hi @ricardorei, can you do a 2.2.1 release with this fix?
Fixes: AttributeError: 'dict' object has no attribute 'scores' #183
Changed:
to: