AssertionError about vision_tower

#6
by lxy00 - opened

I am facing error when loading the model through:

huatuogpt_vision_model_path = "./huatuogpt-v-7b"
query = 'What does the picture show?'
image_paths = ['../example_data/biomed_image_classification_example_data/IHC_histopathology.jpg']

from cli import HuatuoChatbot
bot = HuatuoChatbot(huatuogpt_vision_model_path) # loads the model
output = bot.inference(query, image_paths) # generates
print(output) # Prints the model output

error message:
image.png

how to solve it? Thanks

Sign up or log in to comment