dvlab-research / LISA

Project Page for "LISA: Reasoning Segmentation via Large Language Model"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'LlavaConfig'

BinZhu-ece opened this issue · comments

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'

commented

the same problem...have you solved it?

the same problem...have you solved it?

try to download this weights again and it runs successfully

the same problem...have you solved it?

try to download this weights again and it runs successfully

yes,it is