BicycleGAN-Tensorflow icon indicating copy to clipboard operation
BicycleGAN-Tensorflow copied to clipboard

Batch size implementation missing in data loader

Open aplusc98 opened this issue 6 years ago • 1 comments

Although we can pass a batch size argument in the main bicycle-gan.py code In the data_loader.py there is no implementation to fetch the respective batches..rather it always fetches a batch size of 1. Hence leading to this error.

Cannot feed value of shape (1, x) for Tensor u'input_images:0', which has shape '(2, x)'

Whenever a non-default batch is taken.

aplusc98 avatar Feb 28 '19 04:02 aplusc98

I found the same problem but I got the error saying "Cannot feed value of shape (1, x) for Tensor u'z:0', which has shape '(2, x)' ", which is saying the latent vector was only fetched a batch size of 1. I am not sure if the input images are fetched with batch size of 2 in this case, if they are, maybe the problem is not in the data_loader.py.

xyp8023 avatar Mar 18 '19 13:03 xyp8023