Commit ff2bf0b0 authored by Kaushik Shivakumar's avatar Kaushik Shivakumar
Browse files

add side inputs

parent 35fda973
......@@ -119,7 +119,8 @@ def _compute_losses_and_predictions_dicts(
prediction_dict = model.predict(
preprocessed_images,
features[fields.InputDataFields.true_image_shape])
features[fields.InputDataFields.true_image_shape],
model.get_side_inputs(features))
prediction_dict = ops.bfloat16_to_float32_nested(prediction_dict)
losses_dict = model.loss(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment