LAVIS icon indicating copy to clipboard operation
LAVIS copied to clipboard

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

Open Sampson-Lee opened this issue 8 months ago • 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.

Sampson-Lee avatar Jun 24 '24 11:06 Sampson-Lee