Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch size implementation missing in data loader #6

Open
aplusc98 opened this issue Feb 28, 2019 · 1 comment
Open

Batch size implementation missing in data loader #6

aplusc98 opened this issue Feb 28, 2019 · 1 comment

Comments

@aplusc98
Copy link

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.

@xyp8023
Copy link

xyp8023 commented Mar 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants