Skip to content

Division Issue int typecast #1

@atharvap

Description

@atharvap

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))`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions