Skip to content

A typo in the code #3

Description

@umjiayx

At line 66 of VAR_finetune.py, the var_wo_ddp was initialized twice, here the correct model to be initialized should be ref_var_wo_ddp.

Though this typo, it does not affect the final results, because model weights were loaded into ref_var_wo_ddp right after it was returned by the build_vae_var_with_ref().

Thanks for your effort in this work! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions