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

Fix typo in data_pipeline #220

Merged
merged 1 commit into from
Apr 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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