Closed brycegoh closed 4 days ago
You're right. Thanks for the reminder! You can submit a PR to become a contributor, or I can fix the issue myself later.
Created a PR here https://github.com/VectorSpaceLab/OmniGen/pull/60
Let me know if I missed anything else. Thanks!
Hi, can I check if this is a typo in the training script?
Should
torch.save(state_dict, os.path.join(checkpoint_path, "model.pt"))
betorch.save(ema_state_dict, os.path.join(checkpoint_path, "model.pt"))
instead?Link to code snippet: https://github.com/VectorSpaceLab/OmniGen/blob/d89f9d42dde00d55a886a49144178911b5309830/train.py#L271-L275