Skip to content

Commit 54da80b

Browse files
MSCRED: Remove type-hint from post-processing function
1 parent 3fb1f27 commit 54da80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mscred/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def post_mscred(scores: np.ndarray, args: dict) -> np.ndarray:
3333
max_window_size = max(args.get("hyper_params", {}).get("windows", [10, 30, 60]))
3434
offset = (ds_length - (max_window_size - 1)) % gap_time
3535
image_scores = ReverseWindowing(window_size=window_size).fit_transform(scores)
36-
return np.concatenate([np.repeat(image_scores[:-offset], gap_time), image_scores[-offset:]]) # type: ignore
36+
return np.concatenate([np.repeat(image_scores[:-offset], gap_time), image_scores[-offset:]])
3737
```
3838
<!--END:timeeval-post-->

0 commit comments

Comments
 (0)