EditAnything icon indicating copy to clipboard operation
EditAnything copied to clipboard

TypeError: __call__() got an unexpected keyword argument 'alpha_weight'

Open MahdiMohseni0033 opened this issue 2 years ago • 3 comments

Hey thanks for sharing your amazing work , during getting inference from your code I had faced with TypeError: __call__() got an unexpected keyword argument alpha_weight multiple time and I had no Idea how can I fix this , I'll be so thankful if you could help me

MahdiMohseni0033 avatar May 28 '23 06:05 MahdiMohseni0033

Can you please let me know how this error happened?

gasvn avatar May 29 '23 02:05 gasvn

@gasvn @MahdiMohseni0033 Should be fixed right now.

https://github.com/sail-sg/EditAnything/blob/f123c475c261c63651f7d63262570dd575ce8f3f/sam2edit_lora.py#L602-L631

ikuinen avatar May 29 '23 03:05 ikuinen

thanks for your kind respone

MahdiMohseni0033 avatar Jun 25 '23 11:06 MahdiMohseni0033