moondream
moondream copied to clipboard
Invalid magic bytes
Good job team! I would like to use the GPU model and download the model.safetensors. However, when after loading the model and run the code, it prompts the error "ValueError: Invalid magic bytes: b'\xa0\xfa\x00\x00"
Here are the codes
`model = md.vl(model="model.safetensors")
image_path = "./image.jpg" image = model.encode_image(Image.open(image_path))
print("Short caption:") print(model.caption(image, length="short")["caption"])`
Am I missing anything?