DiffPure icon indicating copy to clipboard operation
DiffPure copied to clipboard

Convert the checkpoint saved by flax to .pth

Open ZhangMingKun1 opened this issue 2 years ago • 1 comments

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?

ZhangMingKun1 avatar Jul 31 '23 13:07 ZhangMingKun1

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

weilinie avatar Aug 07 '23 22:08 weilinie