dvlab-research / LISA

Project Page for "LISA: Reasoning Segmentation via Large Language Model"
Apache License 2.0
1.61k stars 108 forks source link

KeyError: 'LlavaConfig' #88

Open BinZhu-ece opened 6 months ago

BinZhu-ece commented 6 months ago

Traceback (most recent call last): File "/remote-home/zhubin/LISA/chat.py", line 263, in main(sys.argv[1:]) File "/remote-home/zhubin/LISA/chat.py", line 76, in main tokenizer = AutoTokenizer.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/anaconda3/lib/python3.11/site-packages/transformers/models/auto/tokenization_auto.py", line 718, in from_pretrained tokenizer_class_py, tokenizer_class_fast = TOKENIZER_MAPPING[type(config)]


  File "/root/anaconda3/lib/python3.11/site-packages/transformers/models/auto/auto_factory.py", line 663, in __getitem__
    model_type = self._reverse_config_mapping[key.__name__]
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'LlavaConfig'
hxx-who commented 6 months ago

the same problem...have you solved it?

BinZhu-ece commented 6 months ago

the same problem...have you solved it?

try to download this weights again and it runs successfully

goodstudent9 commented 1 month ago

the same problem...have you solved it?

try to download this weights again and it runs successfully

yes,it is