-
Notifications
You must be signed in to change notification settings - Fork 14
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
ckpt in HuggingFace #22
Comments
We were using EMA. Please see fine-tune.yaml |
Thank you for answering my questions!! I would like to know how you convert a ckpt file into a format that can be used by Hugging Face. |
That's actually a very good question haha. Amazing @vinesmsuic helped deploy it so I don't really know. Maybe @vinesmsuic can point us to somewhere? |
Thank you again for your answer!!! And I would like to ask if @vinesmsuic could provide some guidance? If possible, I would be extremely grateful. |
Hi @mo230761 , I don't exactly remembered how did I convert the weights back then since it has been a while. It could be possible that I missed the EMA option. But IIRC diffusers port are performing a bit worse, even for InstructPix2Pix. Would you mind helping me to test the performance of this? |
Of course! I’ve also run some data using the EMA version you provided. Its results are indeed slightly worse than the original, but it’s better than the previous ported version that didn’t use EMA. It’s a pity that you don’t exactly remember how you converted the weights back then. |
@mo230761 |
This might not be possible, as the data I’m testing is under a confidentiality agreement. My apologies. |
I really like your work! But I found that the results using the HuggingFace version are not as good as when using the source code. Upon further exploration, I discovered that the HuggingFace version might not be using EMA. Is that the case? If so, how can I use the EMA version of the checkpoint with HuggingFace?
The text was updated successfully, but these errors were encountered: