Closed ray1422 closed 5 years ago
I just modified something in inference.py
, and change placeholder shape in export_grphy.py
to None. It can accept any size now.
export_grphy.py
(on about line 30)
input_image = tf.placeholder(tf.float32, shape=[None, None, 3], name='input_image')
inference.py
(on about line 28)
input_image = tf.image.decode_jpeg(image_data, channels=3)
input_image = tf.image.resize_images(input_image, size=(FLAGS.height, FLAGS.width))
input_image = utils.convert2float(input_image)
input_image.set_shape([FLAGS.height, FLAGS.width, 3])
Hello, I want to process full-HD images by the model which trained with patches sized 256x256, is it possible? And how to do that? Thanks!