Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnair1 committed Nov 9, 2024
1 parent f30e697 commit 2d281ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/datasets/test_vhr10.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_plot(self, dataset: VHR10) -> None:
x['prediction_labels'] = x['class']
x['prediction_boxes'] = x['bbox_xyxy']
x['prediction_scores'] = torch.Tensor([scores[i]])
if 'masks' in x:
if 'mask' in x:
x['prediction_masks'] = x['mask']
dataset.plot(x, show_feats='masks')
plt.close()

0 comments on commit 2d281ce

Please sign in to comment.