Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the checkpoint saved by flax to .pth #18

Open
ZhangMingKun1 opened this issue Jul 31, 2023 · 1 comment
Open

Convert the checkpoint saved by flax to .pth #18

ZhangMingKun1 opened this issue Jul 31, 2023 · 1 comment

Comments

@ZhangMingKun1
Copy link

Thanks for your excellent work and published code! About the checkpoint trained by the Score SDE (published by song yang), how can we transfer the checkpoint save by flax.training.checkpoints.save_checkpoint to the checkpoint which can be loaded by torch?

@weilinie
Copy link
Contributor

weilinie commented Aug 7, 2023

You can use the checkpoints from https://github.com/yang-song/score_sde_pytorch#pretrained-checkpoints without worrying about converting flax to pytorch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants