File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
bioimageio/core/prediction_pipeline Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,6 @@ def create_prediction_pipeline(
157157 bioimageio_model = bioimageio_model , devices = devices , weight_format = weight_format
158158 )
159159
160- named_input_shape : List [List [Tuple [str , int ]]] = []
161160 preprocessing : List [Transform ] = []
162161 for ipt in bioimageio_model .inputs :
163162 try :
@@ -167,14 +166,11 @@ def create_prediction_pipeline(
167166 except AttributeError :
168167 input_shape = ipt .shape
169168
170- named_input_shape .append (list (zip (ipt .axes , input_shape )))
171169 preprocessing_spec = [] if ipt .preprocessing is missing else ipt .preprocessing .copy ()
172170 preprocessing .append (make_preprocessing (preprocessing_spec ))
173171
174- named_halo : List [List [Tuple [str , int ]]] = []
175172 postprocessing : List [Transform ] = []
176173 for out in bioimageio_model .outputs :
177- named_halo .append (list (zip (out .axes , out .halo or [0 for _ in out .axes ])))
178174 postprocessing_spec = [] if out .postprocessing is missing else out .postprocessing .copy ()
179175 postprocessing .append (make_postprocessing (postprocessing_spec ))
180176
You can’t perform that action at this time.
0 commit comments