Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

start_dim and style_dim #47

@masc-it

Description

@masc-it

hi, I am trying to train using --size 256 --start_dim 256 --style_dim 256 but:

File "/mnt/d/Projects/python/StyleSwin/models/basic_layers.py", line 91, in forward
    out = F.linear(input, self.weight * self.scale)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x512 and 256x256)

How can I fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions