I've tried the example you've provided with:
python llava/eval/run_llava.py --model-path "PULSE-ECG/PULSE-7B" --image-file "images/ecg_example.png" --query "What are the main features in this ECG image?" --conv-mode "llava_v1"
After installing all the dependencies I get:
Traceback (most recent call last):
File "/home//PULSE/LLaVA/llava/eval/run_llava.py", line 145, in
eval_model(args)
File "/home//PULSE/LLaVA/llava/eval/run_llava.py", line 102, in eval_model
images_tensor = process_images(
File "/home//PULSE/LLaVA/llava/mm_utils.py", line 176, in process_images
image = process_anyres_image(image, image_processor, model_cfg.image_grid_pinpoints)
File "/home//PULSE/LLaVA/llava/mm_utils.py", line 138, in process_anyres_image
patches = divide_to_patches(image_padded, processor.crop_size['height'])
Can you please advise?
I've tried the example you've provided with:
python llava/eval/run_llava.py --model-path "PULSE-ECG/PULSE-7B" --image-file "images/ecg_example.png" --query "What are the main features in this ECG image?" --conv-mode "llava_v1"
After installing all the dependencies I get:
Traceback (most recent call last):
File "/home//PULSE/LLaVA/llava/eval/run_llava.py", line 145, in
eval_model(args)
File "/home//PULSE/LLaVA/llava/eval/run_llava.py", line 102, in eval_model
images_tensor = process_images(
File "/home//PULSE/LLaVA/llava/mm_utils.py", line 176, in process_images
image = process_anyres_image(image, image_processor, model_cfg.image_grid_pinpoints)
File "/home//PULSE/LLaVA/llava/mm_utils.py", line 138, in process_anyres_image
patches = divide_to_patches(image_padded, processor.crop_size['height'])
Can you please advise?