Skip to content

Commit

Permalink
formatting py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
rizavelioglu committed Oct 9, 2023
1 parent b4403b2 commit 0f80892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fashionfail/models/prediction_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
from pathlib import Path
from typing import Any, Dict, List
from typing import Any, Dict, List, Tuple

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -77,7 +77,7 @@ def load_tpu_preds(path_to_preds: str, preprocess: bool = True) -> pd.DataFrame:

def _filter_preds_for_classes(
row: pd.Series, class_ids: List[int]
) -> tuple[np.ndarray, np.ndarray, np.ndarray, List[Dict[str, Any]]]:
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, List[Dict[str, Any]]]:
"""
Filter prediction attributes based on class IDs.
Expand Down

0 comments on commit 0f80892

Please sign in to comment.