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

Division Issue int typecast #1

Open
atharvap opened this issue May 11, 2018 · 0 comments
Open

Division Issue int typecast #1

atharvap opened this issue May 11, 2018 · 0 comments

Comments

@atharvap
Copy link

The self.img_size[0]/16 needs to be typecasted to int:

`class Generator(nn.Module):
def init(self, img_size, latent_dim, dim):
super(Generator, self).init()

    self.dim = dim
    self.latent_dim = latent_dim
    self.img_size = img_size
    self.feature_sizes = (int(self.img_size[0] / 16), int(self.img_size[1] / 16))`
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

1 participant