import tensorflow as tf

      decoder_width = scale_dimension(model_options.crop_size[1],
                                      1.0 / model_options.decoder_output_stride)
    else:
      decoder_height = scale_dimension(tf.shape(images)[1],
                                       1.0 / model_options.decoder_output_stride)
      decoder_width = scale_dimension(tf.shape(images)[2],
