cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.92k stars 294 forks source link

Tensor dimension mismatch error when using Embeds of type Plus after v2 upgrade #485

Closed petercham closed 5 months ago

petercham commented 5 months ago

Tensors must have same number of dimensions: got 4 and 3 I've saved a lot of Plus Embeds, and now all of them are giving this error, but non-Plus Embeds are executing just fine!

petercham commented 5 months ago

57ba0167-138f-4654-8f05-9e1268d62bd2

cubiq commented 5 months ago

were the embeds saved with the previous version?

petercham commented 5 months ago

were the embeds saved with the previous version?

Yes, these are Embeds made in V1 version. is it only possible to re-save all Embeds in V2 version? it would be a lot of work and many times it may not be possible to recover the exact parameters from before. Is it possible to provide a compatibility mode to run using the V1 alignment?

cubiq commented 5 months ago

I believe it should be fairly simple to convert the old embeds, I can add it to my to-do but it's a very low priority at the moment, sorry

petercham commented 5 months ago

I believe it should be fairly simple to convert the old embeds, I can add it to my to-do but it's a very low priority at the moment, sorry

Ok, thanks for the suggestion, let's try to recreate all the Plus mode Embeds first!