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

fixed batch size #5

Closed
SchafferZhang opened this issue Nov 27, 2017 · 3 comments
Closed

fixed batch size #5

SchafferZhang opened this issue Nov 27, 2017 · 3 comments

Comments

@SchafferZhang
Copy link

if I want to apply deli-GAN's spirits to some other application like conditional GAN , so the batch size have to fixed? I think this is not convenient.

@swami1995
Copy link

Hi, thanks for your question.
I'm not sure I understand why it's problematic to apply deligan with fixed batch size in conditional GAN. Could you please elaborate upon what you mean and why fixed batch sizes would be inconvenient?

@SchafferZhang
Copy link
Author

SchafferZhang commented Nov 29, 2017

Thanks for your reply @swami1995 . I will make my question more specific. In the paper, you substitute the random noise z with a mixture of Gaussian distributions, and you set the number of the distribution to N, which is the batch size. So if I want to generate 2N samples at a time, it will not be convenient. What I mean is that in your implementation, the batch size have to be fixed during training phase, not like some other network, which the batch size can be set to None.

@swami1995
Copy link

Hi,
I'm sorry, I think I didn't see your messages earlier.
Coming to the question. You are right, I agree that is an inconvenience. The problem was that if we don't specify that, we'd have to make the computational graph dynamic and tensorflow didn't support that. But now that we have various frameworks which support dynamic graphs, I think it shouldn't be a huge problem now.

@ravika ravika closed this as completed Jan 6, 2018
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

3 participants