Skip to content
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

error in running demo note book #193

Open
mahilaMoghadami opened this issue Oct 2, 2024 · 1 comment
Open

error in running demo note book #193

mahilaMoghadami opened this issue Oct 2, 2024 · 1 comment

Comments

@mahilaMoghadami
Copy link

/content/PhotoMaker/photomaker/model.py in fuse_fn(self, prompt_embeds, id_embeds)
47
48 def fuse_fn(self, prompt_embeds, id_embeds):
---> 49 stacked_id_embeds = torch.cat([prompt_embeds, id_embeds], dim=-1)
50 stacked_id_embeds = self.mlp1(stacked_id_embeds) + prompt_embeds
51 stacked_id_embeds = self.mlp2(stacked_id_embeds)

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 8 but got size 4 for tensor number 1 in the list.

@rich-sz
Copy link

rich-sz commented Oct 14, 2024

I have the same error

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

No branches or pull requests

2 participants