sairajk / easi-tex

[SIGGRAPH 2024] "EASI-Tex: Edge-Aware Mesh Texturing from Single Image", ACM Transactions on Graphics.
https://sairajk.github.io/easi-tex/
Other
102 stars 8 forks source link

TypeError: CrossAttention.__init__() got an unexpected keyword argument 'ip_adapter_use_tokens' #3

Closed gaoxiangjun closed 2 months ago

gaoxiangjun commented 3 months ago

easi-tex/models/ControlNet/ldm/modules/attention.py", line 302, in init self.attn1 = attn_cls(query_dim=dim, heads=n_heads, dim_head=d_head, dropout=dropout, TypeError: CrossAttention.init() got an unexpected keyword argument 'ip_adapter_use_tokens'

sairajk commented 3 months ago

Looks like you have not installed the xformers library.

gaoxiangjun commented 2 months ago

I got it! Thanks!