CycleGAN-tensorflow icon indicating copy to clipboard operation
CycleGAN-tensorflow copied to clipboard

Fixes a bug when using non-default image sizes

Open askorelas opened this issue 7 years ago • 2 comments

Came across a bug when using smaller picture sizes than 256. The function load_train_data method wasn't given the picture shape that the network was built with, which resulted in incompatible tensor shapes.

askorelas avatar Dec 13 '17 11:12 askorelas

@askorelas Hello, I changed my picture to 256*256. But there is a problem, how did you solve it?Thanks very much! ValueError: Cannot feed value of shape (0,) for Tensor 'real_A_and_B_images:0', which has shape '(?, 256, 256, 6)' image

Deeplearning20 avatar Jun 09 '18 02:06 Deeplearning20

@askorelas Hello, I changed my picture to 256*256. But there is a problem, how did you solve it?Thanks very much! ValueError: Cannot feed value of shape (0,) for Tensor 'real_A_and_B_images:0', which has shape '(?, 256, 256, 6)' image

hello! have u solved this problem?

star0w avatar Nov 28 '20 14:11 star0w