LLaVA
LLaVA copied to clipboard
How to change CLIP to BiomedCLIP
Question
I am doing medical image project, so how can we change CLIP to other models?
change the vision_tower parameter
change the vision_tower parameter
change the vision_tower parameter
Hi, could you please be more specific? Which specific parts do you need to change?Thank you
@zsxm1998 @20191864218 I just change the vision_tower to microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224, and the finetune can be done. But the model_vqa.py has errors, can not recognize this model. I tried to download all the files from hugging face, but it does not have preprocess_config.json and config.json. How to fix?
@zsxm1998 @20191864218 I just change the vision_tower to microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224, and the finetune can be done. But the model_vqa.py has errors, can not recognize this model. I tried to download all the files from hugging face, but it does not have preprocess_config.json and config.json. How to fix?
Have you solved the problem yet? @YangQiuEric
@zsxm1998 @20191864218 I just change the vision_tower to microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224, and the finetune can be done. But the model_vqa.py has errors, can not recognize this model. I tried to download all the files from hugging face, but it does not have preprocess_config.json and config.json. How to fix?
Any update @YangQiuEric ?