error in running demo note book
/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.
I have the same error
i have the same error
same to you , what's the matter ?
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 8 but got size 4 for tensor number 1 in the list.