BicycleGAN icon indicating copy to clipboard operation
BicycleGAN copied to clipboard

Batch size implementation missing in load_data.py

Open aplusc98 opened this issue 6 years ago • 1 comments

Although we can pass a batch size argument in the main.py code In the load_data.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, 256, 256, 3) for Tensor u'input_images:0', which has shape '(2, 256, 256, 3)'

Whenever a non-default batch is taken.

aplusc98 avatar Jan 19 '19 06:01 aplusc98

@aplusc98 Yes, the implementation is only for batch_size = 1. You can only pass the index of a single image as an argument to the load_batch_image function in load_data.py. I will update the code for any batch_size very soon.

prakashpandey9 avatar Jan 21 '19 06:01 prakashpandey9