From 8abc9010048078868b235d6793ac6c8b20abb985 Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Thu, 21 Apr 2022 21:25:47 +0200 Subject: [PATCH] formatting --- image_prediction/pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image_prediction/pipeline.py b/image_prediction/pipeline.py index 8ac9d7b..caa59d0 100644 --- a/image_prediction/pipeline.py +++ b/image_prediction/pipeline.py @@ -39,9 +39,9 @@ class Pipeline: classify = compose(chain.from_iterable, lift(classifier), partial(chunks, batch_size)) join = compose(starlift(lambda prd, mdt: {"classification": prd, **mdt}), splat(zip)) - # +>--classify--v - # --extract--| |--join-->format - # +>--identity--^ + # +>--classify--v + # --extract-->--split--| |--join-->format + # +>--identity--^ self.pipe = rcompose( extract, # ... image-metadata-pairs as a stream