Skip to content

Commit

Permalink
Bug resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
zycheiheihei authored and Aries-iai committed Aug 8, 2024
1 parent 4da3606 commit bc83a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmte/models/llava/eval/run_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def chat_model(tokenizer, model, image_processor, args):
images,
image_processor,
model.config
).to(model.device, dtype=torch.float16)
).to(model.device, dtype=args.dtype)
else:
images_tensor = None
image_sizes = None
Expand Down

0 comments on commit bc83a87

Please sign in to comment.