Skip to content

Commit

Permalink
fix style checks
Browse files Browse the repository at this point in the history
Signed-off-by: Farhan Ahmed <[email protected]>
  • Loading branch information
f4str committed Jan 19, 2024
1 parent c38fb2d commit 400f839
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 = {}
Expand Down

0 comments on commit 400f839

Please sign in to comment.