salesforce/LAVIS

Why would you overload the load_state_dict() function in blip2_vicuna_xinstruct.py?

Sampson-Lee opened this issue · 0 comments

I spent a whole day debugging why I couldn't load the weights of a saved model. And I found the problem is that 'load_state_dict()' is overloaded.