Skip to content

LDM Pruning code #7

@JinyangMarkLiu

Description

@JinyangMarkLiu

Hi, thank you for sharing the amazing and inspiring pruning work! We have a question related to the pruning code for LDM.We are confused why in the prune_ldm.py line 120 the sampled latent is further encoded with the encoder and then feed into the model for calculating the loss at time t. Shouldn't it just be the sampled latent without encoding? Thanks!

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