Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Apr 16, 2021
1 parent 14502b0 commit 94093b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flash/data/data_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CustomPostprocess(Postprocess):
"""

PREPROCESS_FUNCS: Set[str] = _PREPROCESS_FUNCS
POSTPROCES_FUNCS: Set[str] = _POSTPROCESS_FUNCS
POSTPROCESS_FUNCS: Set[str] = _POSTPROCESS_FUNCS

def __init__(self, preprocess: Optional[Preprocess] = None, postprocess: Optional[Postprocess] = None) -> None:
self._preprocess_pipeline = preprocess or Preprocess()
Expand Down Expand Up @@ -344,7 +344,7 @@ def _create_uncollate_postprocessors(self, stage: RunningStage) -> _PostProcesso

func_names: Dict[str, str] = {
k: self._resolve_function_hierarchy(k, postprocess, stage, object_type=Postprocess)
for k in self.POSTPROCES_FUNCS
for k in self.POSTPROCESS_FUNCS
}

# since postprocessing is exclusive for prediction, we don't have to check the resolution hierarchy here.
Expand Down

0 comments on commit 94093b1

Please sign in to comment.