Skip to content

EMA of VQGAN+ embeddings #9

@XCZhang03

Description

@XCZhang03

Hi, I saw in the original VQGAN paper and many other implementations that the embeddings of a traditional vector quantizer are updated using EMA during training. However, in your code, I only see a separate EMAmodel, while the embeddings being used to compute the loss is still updated using gradient descent. I would be happy if you could share some insights on your design choices!

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