Beckschen / ViTamin

[CVPR 2024] Official implementation of "ViTamin: Designing Scalable Vision Models in the Vision-language Era"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: 'NoneType' object is not subscriptable

ericyq opened this issue · comments

tokenizer = open_clip.get_tokenizer('hf-hub:laion/CLIP-ViT-L-14-DataComp.XL-s13B-b90K')

ViTamin/ViTamin/open_clip/factory.py", line 92, in get_tokenizer
context_length = get_model_config(model_name)['text_cfg']['context_length']
TypeError: 'NoneType' object is not subscriptable

Hello, have you followed the installation instruction?