Skip to content

Conversation

@rodjjo
Copy link
Owner

@rodjjo rodjjo commented Apr 14, 2023

When I used your script in my project https://github.com/rodjjo/diffusion-expert, It was unable to convert safetensor files.

I spend a little time and discovery that it imports if I sort the output_block_list values:

This fix the error:

When I used your script in my project https://github.com/rodjjo/diffusion-expert, It was unable to convert safetensor files.

I spend a little time and discovery that it imports if I sort the output_block_list values:

This fix the error:
```Missing key(s) in state_dict: "up_blocks.0.upsamplers.0.conv.weight", "up_blocks.0.upsamplers.0.conv.bias", "up_blocks.1.upsamplers.0.conv.weight", "up_blocks.1.upsamplers.0.conv.bias", "up_blocks.2.upsamplers.0.conv.weight", "up_blocks.2.upsamplers.0.conv.bias"
````
@rodjjo rodjjo merged commit 2ef3c4b into main Apr 14, 2023
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

Successfully merging this pull request may close these issues.

2 participants