We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/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.
The text was updated successfully, but these errors were encountered:
I have the same error
Sorry, something went wrong.
i have the same error
No branches or pull requests
/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.
The text was updated successfully, but these errors were encountered: