-
Notifications
You must be signed in to change notification settings - Fork 46
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
checkpoint loading size mismatch #7
Comments
Can you provide the full code of |
I didn't modify the codes too much actually. |
The code
should be changed into the following code?
|
Thanks for your reply! Interesting, so the checkpoints do need to be swapped. Although the models can be loaded in this way, but I cannot get same output quality as the ones from HF gradio. Do you have any suggestions? |
Can I see your your 3D result? Also, pixel diffusion is for stage1 and xyz diffusion is for stage2. There is no swap. |
The last colume is your input image? I think the problem results from the unclean background? We assume that the input image is correctly pre-processed into a grey background, otherwise the results will be unpredictable. |
Yes, the preprocessed image may be wrongly passed to the generation pipeline. The last image should be exactly the same as the preprocessed image. |
Thanks for your awesome work and contribution!
I tried to run your codes locally after downloading model checkpoints from huggingface, but I encountered a size mismatch error when doing so:
Interestingly, when I swap the checkpoints for ccm_diffusion and pixel_diffusion, both loading and inference work pretty well. But the results are definitely not correct after swapping the checkpoints.
I have not changed anything to the codes.
The text was updated successfully, but these errors were encountered: