When I use Salesforce/blip-image-captioning-large should I scale the images to some…
- User
When I use
Salesforce/blip-image-captioning-largeshould I scale the images to some standard format before feeding them in? I now doprocessor = BlipProcessor.from_pretrained("Salesforce/blip-image-captioning-large") model = BlipForConditionalGeneration.from_pretrained("Salesforce/blip-image-captioning-large") raw_image = Image.open(img_path).convert("RGB") inputs = processor(raw_image, "return_tensors="pt") out = model.generate(**inputs) caption = processor.decode(out[0], skip_special_tokens=True) Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.