Skip to content

rename another position_ids key (supports wd v1.4)#29

Merged
kohya-ss merged 1 commit intomainfrom
dev
Jan 1, 2023
Merged

rename another position_ids key (supports wd v1.4)#29
kohya-ss merged 1 commit intomainfrom
dev

Conversation

@kohya-ss
Copy link
Copy Markdown
Owner

@kohya-ss kohya-ss commented Jan 1, 2023

Waifu Diffusion v1.4 has the key "text_model.encoder.text_model.embeddings.position_ids" for Text Encoder, but "text_model.embeddings.position_ids" is expected. This converts the key to the expected one.

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.

1 participant