Skip to content

Commit fb20d9f

Browse files
committed
rename lost reference_input to reference_tensor
1 parent 7e90516 commit fb20d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioimageio/core/prediction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def predict_with_tiling(prediction_pipeline: PredictionPipeline, inputs, tiling)
295295
):
296296
raise NotImplementedError("Tiling with a different output shape is not yet supported")
297297

298-
ref_input = named_inputs[output_spec.shape.reference_input]
298+
ref_input = named_inputs[output_spec.shape.reference_tensor]
299299
ref_input_shape = dict(zip(ref_input.dims, ref_input.shape))
300300
output_shape = tuple(int(scale[ax] * ref_input_shape[ax] + 2 * offset[ax]) for ax in output_spec.axes)
301301
else:

0 commit comments

Comments
 (0)