Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix style checks
Browse files Browse the repository at this point in the history
Signed-off-by: Farhan Ahmed <[email protected]>
f4str committed Nov 30, 2023
1 parent eb0af72 commit f6c32bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
| Paper link: https://arxiv.org/abs/2005.12872
"""
import logging
from typing import Any, Dict, List, Optional, Tuple, Union, TYPE_CHECKING
from typing import Dict, List, Optional, Tuple, Union, TYPE_CHECKING

import numpy as np

@@ -144,7 +144,7 @@ def _translate_labels(self, labels: List[Dict[str, "torch.Tensor"]]) -> List[Dic
height = self.input_shape[0]
width = self.input_shape[1]

labels_translated: List[Dict[str, torch.Tensor]] = []
labels_translated: List[Dict[str, "torch.Tensor"]] = []

for label_dict in labels:
label_dict_translated = {}

0 comments on commit f6c32bd

Please sign in to comment.