tf_unet icon indicating copy to clipboard operation
tf_unet copied to clipboard

the crop_to_shape(data, shape) function not work right

Open LilianYe opened this issue 8 years ago • 3 comments

when (data.shape[1] - shape[1]) % 2 == 1, the return size is shape[1]+1 but not shape[1].

LilianYe avatar Aug 23 '17 09:08 LilianYe

Yes this has been an issue for a while. Could you send me a Pull Request for that?

jakeret avatar Aug 28 '17 18:08 jakeret

feed_dict={self.net.x: batch_x, self.net.y: util.crop_to_shape(batch_y, pred_shape), self.net.keep_prob: dropout})

why batch_y.shape!=pred_shape?

lixiangamy avatar Oct 24 '18 11:10 lixiangamy

Due to the network architecture the output prediction are always smaller than the input labels

jakeret avatar Oct 25 '18 09:10 jakeret